Package jmri.jmris.simpleserver.parser
Class SimpleNode
- java.lang.Object
-
- jmri.jmris.simpleserver.parser.SimpleNode
-
- All Implemented Interfaces:
Node
- Direct Known Subclasses:
ASTattributelist
,ASTattributename
,ASTcommand
,ASTlight
,ASTlightcmd
,ASTlightdevice
,ASTlocations
,ASTonoff
,ASToperations
,ASToperationscmd
,ASTpower
,ASTpowercmd
,ASTreporter
,ASTreportercmd
,ASTreporterdevice
,ASTsensor
,ASTsensorcmd
,ASTsensordevice
,ASTterminate
,ASTthrownclosed
,ASTtraincmd
,ASTtrains
,ASTturnout
,ASTturnoutcmd
,ASTturnoutdevice
,ASTvalue
public class SimpleNode extends java.lang.Object implements Node
-
-
Constructor Summary
Constructors Constructor Description SimpleNode(int i)
SimpleNode(JmriServerParser p, int i)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
childrenAccept(JmriServerParserVisitor visitor, java.lang.Object data)
void
dump(java.lang.String prefix)
int
getId()
java.lang.Object
jjtAccept(JmriServerParserVisitor visitor, java.lang.Object data)
void
jjtAddChild(Node n, int i)
void
jjtClose()
Node
jjtGetChild(int i)
int
jjtGetNumChildren()
Node
jjtGetParent()
java.lang.Object
jjtGetValue()
void
jjtOpen()
void
jjtSetParent(Node n)
void
jjtSetValue(java.lang.Object value)
java.lang.String
toString()
java.lang.String
toString(java.lang.String prefix)
-
-
-
Constructor Detail
-
SimpleNode
public SimpleNode(int i)
-
SimpleNode
public SimpleNode(JmriServerParser p, int i)
-
-
Method Detail
-
jjtSetParent
public void jjtSetParent(Node n)
- Specified by:
jjtSetParent
in interfaceNode
-
jjtGetParent
public Node jjtGetParent()
- Specified by:
jjtGetParent
in interfaceNode
-
jjtAddChild
public void jjtAddChild(Node n, int i)
- Specified by:
jjtAddChild
in interfaceNode
-
jjtGetChild
public Node jjtGetChild(int i)
- Specified by:
jjtGetChild
in interfaceNode
-
jjtGetNumChildren
public int jjtGetNumChildren()
- Specified by:
jjtGetNumChildren
in interfaceNode
-
jjtSetValue
public void jjtSetValue(java.lang.Object value)
-
jjtGetValue
public java.lang.Object jjtGetValue()
-
jjtAccept
public java.lang.Object jjtAccept(JmriServerParserVisitor visitor, java.lang.Object data)
-
childrenAccept
public java.lang.Object childrenAccept(JmriServerParserVisitor visitor, java.lang.Object data)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
toString
public java.lang.String toString(java.lang.String prefix)
-
dump
public void dump(java.lang.String prefix)
-
-