T - the type to renderpublic interface Renderer<T>
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
render(T object)
Renders
object as plain text. |
void |
render(T object,
java.lang.Appendable appendable)
Renders
object as plain text, appended directly to appendable. |
java.lang.String render(T object)
object as plain text. Should never throw any exceptions!void render(T object, java.lang.Appendable appendable) throws java.io.IOException
object as plain text, appended directly to appendable. Should never throw any exceptions except if appendable
throws an IOException.java.io.IOException