|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.writersforge.catalan.transform.BaseNodeProcessor
A common base implementation for NodeProcessor.
| Constructor Summary | |
BaseNodeProcessor()
Creates a new instance of TextProcessor. |
|
| Method Summary | |
protected void |
addLeftover(java.lang.Object node)
Add a node to the list of unprocessed nodes. |
void |
end(java.util.List nodes)
Ends the current traversal. |
protected java.util.List |
getLeftovers()
Retrieves the current list of unprocessed input nodes. |
protected java.util.List |
getNodes()
Retrieves the current node processing list. |
void |
start(java.util.List nodes)
Starts a new traversal. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.writersforge.bellows.traverse.NodeProcessor |
processNode |
| Constructor Detail |
public BaseNodeProcessor()
| Method Detail |
protected java.util.List getNodes()
protected java.util.List getLeftovers()
protected void addLeftover(java.lang.Object node)
node - unprocessed input data nodepublic void start(java.util.List nodes)
start in interface org.writersforge.bellows.traverse.NodeProcessornodes - the list of nodes that will later be traversedpublic void end(java.util.List nodes)
end(), the processor should be ready
for the next new traversal.
end in interface org.writersforge.bellows.traverse.NodeProcessornodes - the list of nodes that has just been traversed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||