public class StringValue extends ValueElement
Element.Tag| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
text
The statically known text, which is optional.
|
static StringValue |
VALUE
The canonical string value element with unknown text.
|
| Constructor and Description |
|---|
StringValue()
Create a new string value.
|
StringValue(java.lang.String text)
Create a new string value.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
Element.Tag |
tag()
Get this element's tag.
|
add, add, addAll, addAll, addAll, addAll, addAllTo, addNode, contains, get, getBoolean, getBooleanProperty, getGeneric, getList, getLocation, getName, getNode, getProperty, getString, getStringProperty, getTokenText, hasLocation, hasName, hasProperty, hasTraversal, hasVariable, indexOf, isAnnotation, isEmpty, isGeneric, isList, isToken, iterator, lastIndexOf, properties, remove, removeProperty, set, setLocation, setLocation, setProperty, size, strip, toAnnotation, toList, toString, toToken, writepublic static final StringValue VALUE
public final java.lang.String text
public StringValue()
public StringValue(java.lang.String text)
text - The static text.public Element.Tag tag()
Elementpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.ObjectCopyright © 2014. All Rights Reserved.