Package com.google.gwt.text.shared
Interface Renderer<T>
- Type Parameters:
T- the type to render
- All Known Implementing Classes:
AbstractRenderer,DateTimeFormatRenderer,DoubleRenderer,IntegerRenderer,LongRenderer,NumberFormatRenderer,PassthroughRenderer,ProxyRenderer,ToStringRenderer
public interface Renderer<T>
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.
-
Method Summary
-
Method Details
-
render
Rendersobjectas plain text. Should never throw any exceptions! -
render
Rendersobjectas plain text, appended directly toappendable. Should never throw any exceptions except ifappendablethrows anIOException.- Throws:
IOException
-