|
||||||||||
| 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<T>
T - type of fieldpublic abstract class AbstractField<T>
Abstract class to implement fields.
| Method Summary | |
|---|---|
String |
getDesc()
Returns natural-language description of field. |
String |
getLabel()
Returns label of field. |
String |
getType()
Returns field type. |
String |
getVar()
Returns name of field. |
boolean |
isRequired()
Get is this field is required. |
void |
setDesc(String desc)
Set natural-language description of field. |
void |
setLabel(String label)
Sets label of field. |
void |
setRequired(boolean value)
Set if this field is required one. |
void |
setVar(String var)
Sets name of field. |
| 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 |
| Methods inherited from interface tigase.jaxmpp.core.client.xmpp.forms.Field |
|---|
getFieldValue, setFieldValue |
| Method Detail |
|---|
public String getDesc()
throws XMLException
getDesc in interface Field<T>XMLException
public String getLabel()
throws XMLException
getLabel in interface Field<T>XMLException
public String getType()
throws XMLException
getType in interface Field<T>XMLException
public String getVar()
throws XMLException
getVar in interface Field<T>XMLException
public boolean isRequired()
throws XMLException
isRequired in interface Field<T>true is field is required.
XMLException
public void setDesc(String desc)
throws XMLException
setDesc in interface Field<T>desc - description of field
XMLException
public void setLabel(String label)
throws XMLException
setLabel in interface Field<T>label - label of field.
XMLException
public void setRequired(boolean value)
throws XMLException
setRequired in interface Field<T>value - true is field is required
XMLException
public void setVar(String var)
throws XMLException
setVar in interface Field<T>var - name of field.
XMLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||