|
||||||||||
| 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.text.ToAsciiConverter
A packed ASCII field processor which explodes a packed ASCII data node into a collection of Java objects, or vice versa.
AsciiFieldManager| Constructor Summary | |
ToAsciiConverter(org.writersforge.bellows.Datum xml)
Creates a new instance of ToAsciiConverter from the XML spec. |
|
ToAsciiConverter(java.lang.String fieldSpec)
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. |
java.lang.String |
toString()
Convert this object to a String value. |
| Methods inherited from class org.writersforge.catalan.transform.BaseNodeProcessor |
addLeftover, getLeftovers, getNodes, start |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ToAsciiConverter(org.writersforge.bellows.Datum xml)
xml - XML initializing specpublic ToAsciiConverter(java.lang.String fieldSpec)
fieldSpec - ASCII field formatting spec| Method Detail |
public void setPadding(java.lang.String padding)
padding - the custom padding stringpublic 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||