- java.lang.Object
-
- com.rometools.modules.sle.types.StringValue
-
- All Implemented Interfaces:
EntryValue
,Serializable
,Cloneable
,Comparable<EntryValue>
public class StringValue extends Object implements EntryValue
An EntryValue implementation for "text" data-types.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StringValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
int
compareTo(EntryValue other)
boolean
equals(Object o)
String
getElement()
Returns the name of the element.String
getLabel()
Returns a label for the element.org.jdom2.Namespace
getNamespace()
Returns the namespace of the element.String
getValue()
Returns the value of the element.int
hashCode()
void
setElement(String element)
void
setLabel(String label)
void
setNamespace(org.jdom2.Namespace namespace)
void
setValue(String value)
String
toString()
-
-
-
Method Detail
-
setValue
public void setValue(String value)
-
getElement
public String getElement()
Description copied from interface:EntryValue
Returns the name of the element.- Specified by:
getElement
in interfaceEntryValue
- Returns:
- Returns the name of the element.
-
setLabel
public void setLabel(String label)
-
getLabel
public String getLabel()
Description copied from interface:EntryValue
Returns a label for the element.- Specified by:
getLabel
in interfaceEntryValue
- Returns:
- Returns a label for the element.
-
getValue
public String getValue()
Description copied from interface:EntryValue
Returns the value of the element.- Specified by:
getValue
in interfaceEntryValue
- Returns:
- Returns the value of the element.
-
setElement
public void setElement(String element)
-
getNamespace
public org.jdom2.Namespace getNamespace()
Description copied from interface:EntryValue
Returns the namespace of the element.- Specified by:
getNamespace
in interfaceEntryValue
- Returns:
- Returns the namespace of the element.
-
setNamespace
public void setNamespace(org.jdom2.Namespace namespace)
-
compareTo
public int compareTo(EntryValue other)
- Specified by:
compareTo
in interfaceComparable<EntryValue>
-
-