org.jivesoftware.smackx
Class FormField.Option
java.lang.Object
org.jivesoftware.smackx.FormField.Option
- Enclosing class:
- FormField
public static class FormField.Option
- extends Object
Represents the available option of a given FormField.
- Author:
- Gaston Dombiak
FormField.Option
public FormField.Option(String value)
FormField.Option
public FormField.Option(String label,
String value)
getLabel
public String getLabel()
- Returns the label that represents the option.
- Returns:
- the label that represents the option.
getValue
public String getValue()
- Returns the value of the option.
- Returns:
- the value of the option.
toString
public String toString()
- Overrides:
toString
in class Object
toXML
public String toXML()
Copyright © 2003-2007 Jive Software.