public static class FormField.Option extends Object implements NamedElement
Constructor and Description |
---|
FormField.Option(String value) |
FormField.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 FormField.Option(String value)
public FormField.Option(String label, String value)
public String getLabel()
public String getElementName()
NamedElement
getElementName
in interface NamedElement
public XmlStringBuilder toXML()
Element