tigase.jaxmpp.core.client.xmpp.forms
Class TextSingleField
java.lang.Object
tigase.jaxmpp.core.client.xml.ElementWrapper
tigase.jaxmpp.core.client.xmpp.forms.AbstractField<String>
tigase.jaxmpp.core.client.xmpp.forms.TextSingleField
- All Implemented Interfaces:
- Element, Field<String>
public class TextSingleField
- extends AbstractField<String>
Implementation of text-single field type.
The field
enables an entity to gather or provide a single line or word of text, which
may be shown in an interface. This field type is the default and MUST be
assumed if a form-submitting entity receives a field type it does not
understand.
| 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 |
getFieldValue
public String getFieldValue()
throws XMLException
- Returns value of field.
- Returns:
- value
- Throws:
XMLException
setFieldValue
public void setFieldValue(String value)
throws XMLException
- Sets value of field.
- Parameters:
value - value of field
- Throws:
XMLException
Copyright © 2006-2012 Tigase. All Rights Reserved.