public interface

Renderer

com.google.gwt.text.shared.Renderer<T>
Known Indirect Subclasses

Class Overview

An object that can render other objects of a particular type into plain-text form. Allows decoupling that is useful for a dependency-injection architecture.

Summary

Public Methods
abstract void render(T object, Appendable appendable)
Renders object as plain text, appended directly to appendable.
abstract String render(T object)
Renders object as plain text.

Public Methods

public abstract void render (T object, Appendable appendable)

Renders object as plain text, appended directly to appendable. Should never throw any exceptions except if appendable throws an IOException.

Throws
IOException

public abstract String render (T object)

Renders object as plain text. Should never throw any exceptions!