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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
render
(T object, Appendable appendable) Rendersobject
as plain text, appended directly toappendable
.
-
Constructor Details
-
AbstractRenderer
public AbstractRenderer()
-
-
Method Details
-
render
Description copied from interface:Renderer
Rendersobject
as plain text, appended directly toappendable
. Should never throw any exceptions except ifappendable
throws anIOException
.- Specified by:
render
in interfaceRenderer<T>
- Throws:
IOException
-