org.jivesoftware.smackx
Class FormField.Option
java.lang.Object
org.jivesoftware.smackx.FormField.Option
- Enclosing class:
- FormField
public static class FormField.Option
- extends java.lang.Object
Represents the available option of a given FormField.
- Author:
- Gaston Dombiak
Method Summary |
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getLabel()
Returns the label that represents the option. |
java.lang.String |
getValue()
Returns the value of the option. |
int |
hashCode()
|
java.lang.String |
toString()
|
java.lang.String |
toXML()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
FormField.Option
public FormField.Option(java.lang.String value)
FormField.Option
public FormField.Option(java.lang.String label,
java.lang.String value)
getLabel
public java.lang.String getLabel()
- Returns the label that represents the option.
- Returns:
- the label that represents the option.
getValue
public java.lang.String getValue()
- Returns the value of the option.
- Returns:
- the value of the option.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toXML
public java.lang.String toXML()
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 2003-2007 Jive Software.