public static class FormField.Option extends Object implements NamedElement
Constructor and Description |
---|
Option(String value) |
Option(String label,
String value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getElementName()
Returns the root element name.
|
String |
getLabel()
Returns the label that represents the option.
|
String |
getValue()
Returns the value of the option.
|
int |
hashCode() |
String |
toString() |
XmlStringBuilder |
toXML()
Returns the XML representation of this Element.
|
public static final String ELEMENT
public String getLabel()
public String getValue()
public String getElementName()
NamedElement
getElementName
in interface NamedElement
public XmlStringBuilder toXML()
Element