Package com.google.gwt.text.shared
Class AbstractRenderer<T>
java.lang.Object
com.google.gwt.text.shared.AbstractRenderer<T>
- Type Parameters:
T- the type to render
- All Implemented Interfaces:
Renderer<T>
- Direct Known Subclasses:
DateTimeFormatRenderer,DoubleRenderer,IntegerRenderer,LongRenderer,NumberFormatRenderer,PassthroughRenderer,ProxyRenderer,ToStringRenderer
Abstract implementation of a renderer to make implementation of rendering
simpler.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrender(T object, Appendable appendable) Rendersobjectas plain text, appended directly toappendable.
-
Constructor Details
-
AbstractRenderer
public AbstractRenderer()
-
-
Method Details
-
render
Description copied from interface:RendererRendersobjectas plain text, appended directly toappendable. Should never throw any exceptions except ifappendablethrows anIOException.- Specified by:
renderin interfaceRenderer<T>- Throws:
IOException
-