|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.writersforge.catalan.transform.BaseNodeProcessor
|
+--org.writersforge.catalan.transform.AsciiConverter
A packed ASCII field processor which explodes a packed ASCII data node into a collection of Java objects, or vice versa.
AsciiFieldManager| Constructor Summary | |
AsciiConverter(java.lang.String fieldSpec,
boolean toAscii)
Creates a new instance of AsciiConverter. |
|
| 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 |
setPadding(java.lang.String padding)
Assigns a custom padding string to use as a cycling overlay to all padded ('x') spans. |
void |
start(java.util.List nodes)
Starts a new traversal. |
java.lang.String |
toString()
Convert this object to a String value. |
| 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, wait, wait, wait |
| Constructor Detail |
public AsciiConverter(java.lang.String fieldSpec,
boolean toAscii)
fieldSpec - ASCII field formatting spectoAscii - if true, convert Java objects to ASCII; if false, convert
ASCII data into Java objects| Method Detail |
public void setPadding(java.lang.String padding)
padding - the custom padding stringpublic 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
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||