edu.buffalo.nsf.xmlcqa.tree
Class TreeNode
java.lang.Object
edu.buffalo.nsf.xmlcqa.tree.TreeNode
- public final class TreeNode
- extends java.lang.Object
- Author:
- staworko
TODO To change the template for this generated type comment go to Window -
Preferences - Java - Code Style - Code Templates
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
hash
protected int hash
parent
protected TreeNode parent
pos
protected int pos
realm
protected int realm
realmCounter
protected static int realmCounter
t
protected Token t
TreeNode
protected TreeNode(int realm,
Token t)
TreeNode
public TreeNode(Token t)
TreeNode
protected TreeNode(TreeNode parent,
int pos,
Token t)
getChild
public TreeNode getChild(int pos,
Token t)
getParent
public TreeNode getParent()
getPosition
public int getPosition()
getTag
public Tag getTag()
getText
public java.lang.String getText()
hashCode
public int hashCode()
isNode
public boolean isNode()
isRoot
public boolean isRoot()
isText
public boolean isText()
substitute
public TreeNode substitute(TreeNode root)
toString
public java.lang.String toString()