dochelper
Interface Renderer

All Superinterfaces:
Configurable
All Known Implementing Classes:
FileRenderer

public interface Renderer
extends Configurable


Method Summary
 void addDocumentSection(DocumentSection docsection, java.lang.String key)
          Add a Document Section to the Map of Document Section to use while rendering.
 void execute(ResultNode doc)
          Main method of the renderer.
 
Methods inherited from interface dochelper.Configurable
checkParams, init, setParam
 

Method Detail

execute

void execute(ResultNode doc)
             throws ResourceUnavailableException
Main method of the renderer. This method should convert the input ResultNode
Parameters:
doc - The node that represent the root of the tree to process.
Throws:
ResourceUnavailableException
java.lang.Exception

addDocumentSection

void addDocumentSection(DocumentSection docsection,
                        java.lang.String key)
Add a Document Section to the Map of Document Section to use while rendering.

Parameters:
docsection - DocumentSection to add to Map.
key - String representing the object we wish to apply this Document Section to.