public class StringValue extends AbstractNode<StringValue> implements Value<StringValue>
| Constructor and Description |
|---|
StringValue(java.lang.String value) |
| Modifier and Type | Method and Description |
|---|---|
StringValue |
deepCopy() |
java.util.List<Node> |
getChildren() |
java.lang.String |
getValue() |
boolean |
isEqualTo(Node o)
Compares just the content and not the children.
|
void |
setValue(java.lang.String value) |
java.lang.String |
toString() |
deepCopy, deepCopy, getComments, getSourceLocation, setComments, setSourceLocationclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetComments, getSourceLocationpublic java.lang.String getValue()
public void setValue(java.lang.String value)
public java.util.List<Node> getChildren()
getChildren in interface Node<StringValue>public java.lang.String toString()
toString in class java.lang.Objectpublic boolean isEqualTo(Node o)
NodeisEqualTo in interface Node<StringValue>o - the other node to compare topublic StringValue deepCopy()
deepCopy in interface Node<StringValue>deepCopy in interface Value<StringValue>