Public Member Functions | |
void | execute (ResultNode doc) throws ResourceUnavailableException |
Main method of the renderer. | |
void | addDocumentSection (DocumentSection docsection, String key) |
Add a Document Section to the Map of Document Section to use while rendering. |
Definition at line 18 of file Renderer.java.
void dochelper.Renderer.execute | ( | ResultNode | doc | ) | throws ResourceUnavailableException |
Main method of the renderer.
This method should convert the input ResultNode</code node into output. The node passed in as input represents the root of the tree to convert.
It is the renderer's responsibility to fetch the correct output info for each record set. Specifically docsections may be define for each onde in the tree for this renderer, these should be fetched and applied.
doc The node that represent the root of the tree to process.
ResourceUnavailableException Exception
Implemented in dochelper.FileRenderer.
void dochelper.Renderer.addDocumentSection | ( | DocumentSection | docsection, | |
String | key | |||
) |
Add a Document Section to the Map of Document Section to use while rendering.
docsection | DocumentSection to add to Map. | |
key | String representing the object we wish to apply this Document Section to. |
Implemented in dochelper.FileRenderer.