net.sf.parser4j.parsetreeinspector.entity
Class JtreeNode
java.lang.Object
net.sf.parser4j.parsetreeinspector.entity.JtreeNode
- All Implemented Interfaces:
- IJtreeNode
public class JtreeNode
- extends java.lang.Object
- implements IJtreeNode
node for jtree
- Author:
- luc peuvrier
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
JtreeNode
public JtreeNode(IParseNode parseNode)
JtreeNode
public JtreeNode(IParseNode parseNode,
int alternativeNumber)
JtreeNode
public JtreeNode(ParseNodeComponent component)
getParseNode
public IParseNode getParseNode()
- Specified by:
getParseNode
in interface IJtreeNode
isAlternative
public boolean isAlternative()
- Specified by:
isAlternative
in interface IJtreeNode
getAlternativeNumber
public int getAlternativeNumber()
- Specified by:
getAlternativeNumber
in interface IJtreeNode
isComponent
public boolean isComponent()
- Specified by:
isComponent
in interface IJtreeNode
addChild
public void addChild(IJtreeNode child)
- Specified by:
addChild
in interface IJtreeNode
getChildAt
public java.lang.Object getChildAt(int index)
- Specified by:
getChildAt
in interface IJtreeNode
getChildCount
public int getChildCount()
- Specified by:
getChildCount
in interface IJtreeNode
getIndexOfChild
public int getIndexOfChild(IJtreeNode child)
- Specified by:
getIndexOfChild
in interface IJtreeNode
getGrammarSymbolIdentifier
public int getGrammarSymbolIdentifier()
getName
public java.lang.String getName()
getMyIdentifier
public int getMyIdentifier()
getNumberOfAlternative
public int getNumberOfAlternative()
getParseNodeType
public EnumNodeType getParseNodeType()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
Copyright © 2008-2009 Luc Peuvrier. All Rights Reserved.