|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.antlr.runtime.tree.BaseTree org.antlr.runtime.tree.CommonTree org.kuali.student.common.messagebuilder.booleanmessage.ast.BooleanNode
public class BooleanNode
This class is a boolean node in a binary tree.
Field Summary | |
---|---|
private String |
language
|
private String |
nodeMessage
|
private BooleanNode |
parent
|
private Boolean |
value
|
Fields inherited from class org.antlr.runtime.tree.CommonTree |
---|
childIndex, startIndex, stopIndex, token |
Fields inherited from class org.antlr.runtime.tree.BaseTree |
---|
children |
Fields inherited from interface org.antlr.runtime.tree.Tree |
---|
INVALID_NODE |
Constructor Summary | |
---|---|
BooleanNode(org.antlr.runtime.Token payload)
Construct a boolean node for a particular token in a binary tree. |
Method Summary | |
---|---|
String |
getLabel()
Gets the label of the node. |
String |
getLanguage()
Gets the message language. |
BooleanNode |
getLeftNode()
Gets the b-tree left node. |
String |
getNodeMessage()
Gets the node message. |
BooleanNode |
getParent()
Gets the parent boolean node. |
BooleanNode |
getRightNode()
Gets the b-tree right node. |
Boolean |
getValue()
Gets the boolean value (true or false). |
void |
setLanguage(String language)
Sets the message language. |
void |
setNodeMessage(String nodeMessage)
Sets the node message. |
void |
setParent(BooleanNode parent)
org.antlr.runtime.tree.CommonTree.getParent() is not implemented you have to set the parent yourself, BinaryMessageTree.java |
void |
setValue(Boolean value)
Sets the boolean value (true or false). |
String |
toString()
|
Methods inherited from class org.antlr.runtime.tree.CommonTree |
---|
dupNode, getCharPositionInLine, getChildIndex, getLine, getText, getToken, getTokenStartIndex, getTokenStopIndex, getType, isNil, setChildIndex, setParent, setTokenStartIndex, setTokenStopIndex |
Methods inherited from class org.antlr.runtime.tree.BaseTree |
---|
addChild, addChildren, createChildrenList, deleteChild, freshenParentAndChildIndexes, freshenParentAndChildIndexes, getChild, getChildCount, getChildren, getFirstChildWithType, replaceChildren, sanityCheckParentAndChildIndexes, sanityCheckParentAndChildIndexes, setChild, toStringTree |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private BooleanNode parent
private Boolean value
private String nodeMessage
private String language
Constructor Detail |
---|
public BooleanNode(org.antlr.runtime.Token payload)
payload
- Node tokenMethod Detail |
---|
public BooleanNode getParent()
getParent
in interface org.antlr.runtime.tree.Tree
getParent
in class org.antlr.runtime.tree.CommonTree
public BooleanNode getLeftNode()
public BooleanNode getRightNode()
public String getLabel()
public Boolean getValue()
public String getNodeMessage()
public String getLanguage()
public void setParent(BooleanNode parent)
parent
- Parent nodepublic void setValue(Boolean value)
value
- Boolean valuepublic void setNodeMessage(String nodeMessage)
nodeMessage
- Node messagepublic void setLanguage(String language)
language
- Message languagepublic String toString()
toString
in interface org.antlr.runtime.tree.Tree
toString
in class org.antlr.runtime.tree.CommonTree
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |