|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - the type to renderpublic interface Renderer<T>
Experimental API: This class is still under rapid development, and is very likely to be deleted. Use it at your own risk.
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 | |
|---|---|
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. |
| Method Detail |
|---|
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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||