public abstract class AbstractStringNode extends AbstractRamlNode implements StringNode
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractStringNode(AbstractStringNode node) |
|
AbstractStringNode(String value) |
| Modifier and Type | Method and Description |
|---|---|
String |
getLiteralValue()
in some cases the value of the node is different than the literal one
e.g: (literal value) -> (value)
001 -> 1
0xF -> 15
|
NodeType |
getType()
Returns the type of this node
|
String |
getValue() |
String |
toString() |
getEndPosition, getStartPosition, setEndPosition, setSource, setStartPositionaddChild, addChild, annotate, annotations, findAncestorWith, findDescendantsWith, get, getChildren, getParent, getRootNode, getSource, removeChild, removeChildren, replaceTree, replaceWith, setChild, setParentclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddChild, addChild, annotate, annotations, copy, findAncestorWith, findDescendantsWith, get, getChildren, getEndPosition, getParent, getRootNode, getSource, getStartPosition, removeChild, removeChildren, replaceTree, replaceWith, setChild, setParent, setSourceprotected String value
public AbstractStringNode(String value)
protected AbstractStringNode(AbstractStringNode node)
public String getValue()
getValue in interface SimpleTypeNode<String>getValue in interface StringNodepublic String getLiteralValue()
SimpleTypeNodegetLiteralValue in interface SimpleTypeNode<String>public NodeType getType()
NodeCopyright © 2017. All rights reserved.