|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ooc.LinkedTagInstance softparsmap.AbstractTreeParser softparsmap.TreeParserNewick
This parser will parse the Newick format. It is flexible within limits, See the def.xml file for more information.
Constructor Summary | |
TreeParserNewick()
|
Method Summary | |
EdgeType |
getEdgeType()
Returns the edge type that exists in the tree. |
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 |
setEdgeType(EdgeType edgeType)
|
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 TreeParserNewick()
Method Detail |
public void setupInstance()
LinkedTagInstance
setupInstance
in class LinkedTagInstance
public EdgeType getEdgeType()
EdgeType
public void setEdgeType(EdgeType edgeType)
public Node parseIn(java.lang.String tree)
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
public void parseIn(Node tree, java.lang.String treeInfo)
TreeParser
parseIn
in interface TreeParser
parseIn
in class AbstractTreeParser
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |