com.caucho.xmpp.data
Class DataOption

java.lang.Object
  extended by com.caucho.xmpp.data.DataOption
All Implemented Interfaces:
java.io.Serializable

public class DataOption
extends java.lang.Object
implements java.io.Serializable

data forms XEP-0004: http://www.xmpp.org/extensions/xep-0004.html

 namespace = jabber:x:data

 element option {
   attribute label?,

   value*
 }

 element value {
   string
 }
 

See Also:
Serialized Form

Constructor Summary
DataOption()
           
DataOption(java.lang.String label)
           
DataOption(java.lang.String label, DataValue[] value)
           
 
Method Summary
 java.lang.String getLabel()
           
 DataValue[] getValue()
           
 void setValue(DataValue[] value)
           
 void setValueList(java.util.ArrayList<DataValue> valueList)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DataOption

public DataOption()

DataOption

public DataOption(java.lang.String label)

DataOption

public DataOption(java.lang.String label,
                  DataValue[] value)
Method Detail

getLabel

public java.lang.String getLabel()

getValue

public DataValue[] getValue()

setValue

public void setValue(DataValue[] value)

setValueList

public void setValueList(java.util.ArrayList<DataValue> valueList)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object