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
Rendersobject
as plain text. Should never throw any exceptions! -
render
Rendersobject
as plain text, appended directly toappendable
. Should never throw any exceptions except ifappendable
throws anIOException
.- Throws:
IOException
-