|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectooc.LinkedTagInstance
softparsmap.AbstractTreeParser
softparsmap.TreeParserDual
This parser uses two complementary parts to parse in and out trees. The tree_structure_parser is parsing the tree structure and calls the node_converter when parsing in or out a node. See the def.xml file for more information.
Constructor Summary | |
TreeParserDual()
|
Method Summary | |
void |
parseIn(Node tree,
java.lang.String treeInfo)
Adding information to the existing tree. |
Node |
parseIn(java.lang.String tree)
Returns the root of the parsed tree. |
java.lang.String |
parseOut(Node tree)
This method will parse out the tree to a string. |
void |
setupInstance()
The default setup method which will be called. |
Methods inherited from class softparsmap.AbstractTreeParser |
getCharset, getPropertyFile, parseIn, parseIn, parseOut |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TreeParserDual()
Method Detail |
public void setupInstance()
LinkedTagInstance
setupInstance
in class LinkedTagInstance
public Node parseIn(java.lang.String tree)
TreeParser
parseIn
in interface TreeParser
parseIn
in class AbstractTreeParser
public void parseIn(Node tree, java.lang.String treeInfo)
TreeParser
parseIn
in interface TreeParser
parseIn
in class AbstractTreeParser
public java.lang.String parseOut(Node tree)
TreeParser
parseOut
in interface TreeParser
parseOut
in class AbstractTreeParser
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |