|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.writersforge.catalan.transform.BaseNodeProcessor
org.writersforge.catalan.transform.io.ExportProcessor
A processor which exports data from data nodes into files and URLs.
| Constructor Summary | |
ExportProcessor(org.writersforge.bellows.Datum xml)
Creates a new instance of ExportProcessor from the XML spec. |
|
ExportProcessor(java.io.File outputFile,
boolean keepOriginal,
boolean append)
Creates a new instance of ExportProcessor. |
|
| Method Summary | |
void |
end(java.util.List nodes)
Ends the current traversal. |
java.util.List |
processNode(java.lang.Object node)
Process a single node. |
void |
start(java.util.List nodes)
Starts a new traversal. |
| Methods inherited from class org.writersforge.catalan.transform.BaseNodeProcessor |
addLeftover, getLeftovers, getNodes |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ExportProcessor(org.writersforge.bellows.Datum xml)
xml - XML initializing spec
public ExportProcessor(java.io.File outputFile,
boolean keepOriginal,
boolean append)
outputFile - optional static output filekeepOriginal - if true, keep exported nodes in the queueappend - if true, append to file if it already exists; if false,
delete old contents before writing new contents| Method Detail |
public void start(java.util.List nodes)
start in interface org.writersforge.bellows.traverse.NodeProcessorstart in class BaseNodeProcessornodes - 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.NodeProcessorend in class BaseNodeProcessornodes - the list of nodes that has just been traversedpublic java.util.List processNode(java.lang.Object node)
node - the node to process
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||