|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttigase.jaxmpp.core.client.xml.ElementWrapper
tigase.jaxmpp.core.client.xmpp.forms.AbstractField<JID[]>
tigase.jaxmpp.core.client.xmpp.forms.JidMultiField
public class JidMultiField
Implementation of jid-multi field type.
The field enables an entity to gather or provide multiple Jabber IDs. Each provided JID SHOULD be unique (as determined by comparison that includes application of the Nodeprep, Nameprep, and Resourceprep profiles of Stringprep as specified in XMPP Core), and duplicate JIDs MUST be ignored.
| Method Summary | |
|---|---|
void |
addFieldValue(JID... value)
Add value to field. |
void |
clearValues()
Removes all values. |
JID[] |
getFieldValue()
Returns value of field. |
void |
setFieldValue(JID[] value)
Sets value of field. |
| Methods inherited from class tigase.jaxmpp.core.client.xmpp.forms.AbstractField |
|---|
getDesc, getLabel, getType, getVar, isRequired, setDesc, setLabel, setRequired, setVar |
| Methods inherited from class tigase.jaxmpp.core.client.xml.ElementWrapper |
|---|
addChild, equals, getAsString, getAttribute, getAttributes, getChildAfter, getChildElementValue, getChildElementValue, getChildren, getChildren, getChildrenNS, getChildrenNS, getFirstChild, getFirstChild, getName, getNextSibling, getParent, getValue, getXMLNS, hashCode, removeAttribute, removeChild, setAttribute, setAttributes, setChildElementValue, setChildElementValue, setParent, setValue, setXMLNS |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void addFieldValue(JID... value)
throws XMLException
value - JID to add
XMLException
public void clearValues()
throws XMLException
XMLException
public JID[] getFieldValue()
throws XMLException
XMLException
public void setFieldValue(JID[] value)
throws XMLException
value - value of field
XMLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||