T
- the type to renderpublic interface Renderer<T>
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