|
Clearspace API (1.10.16) Core Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Renderer
A Renderer is an object that allows for converting text markup to html and back again. To use
this API you would create and provide a RenderContext which contains all the necessary
information for transforming the content as appropriate.
Note that this API does not provide for caching of rendered text - that is expected to be handled by classes using this API.
| Method Summary | |
|---|---|
java.lang.String |
render(java.lang.String content,
RenderContext context)
Render the input string according to the RenderStrategy and RenderTarget
specified by the given render context. |
| Method Detail |
|---|
java.lang.String render(java.lang.String content,
RenderContext context)
RenderStrategy and RenderTarget
specified by the given render context.
content - the input to rendercontext - rendering context containing all necessary information required for rendering
|
Clearspace Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||