public class StringNodeImpl extends AbstractRamlNode implements StringNode
| Constructor and Description |
|---|
StringNodeImpl(String value) |
StringNodeImpl(StringNodeImpl node) |
| Modifier and Type | Method and Description |
|---|---|
Node |
copy()
Creates a new copy of this node
|
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, setStartPositionaddChild, addChild, findAncestorWith, findDescendantsWith, get, getChildren, getParent, getRootNode, getSource, removeChild, replaceWith, setChild, setParent, setSourceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddChild, addChild, findAncestorWith, findDescendantsWith, get, getChildren, getEndPosition, getParent, getRootNode, getSource, getStartPosition, removeChild, replaceWith, setChild, setParent, setSourcepublic StringNodeImpl(String value)
public StringNodeImpl(StringNodeImpl node)
public String getValue()
getValue in interface SimpleTypeNode<String>getValue in interface StringNodepublic String getLiteralValue()
SimpleTypeNodegetLiteralValue in interface SimpleTypeNode<String>@Nonnull public Node copy()
Nodepublic NodeType getType()
NodeCopyright © 2016. All rights reserved.