public class TextSingleField extends AbstractField<String>
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.
| Modifier and Type | Method and Description |
|---|---|
String |
getFieldValue()
Returns value of field.
|
void |
setFieldValue(String value)
Sets value of field.
|
getDesc, getLabel, getType, getVar, isRequired, setDesc, setLabel, setRequired, setVaraddChild, equals, findChild, getAsString, getAttribute, getAttributes, getChildAfter, getChildElementValue, getChildElementValue, getChildren, getChildren, getChildrenNS, getChildrenNS, getFirstChild, getFirstChild, getName, getNextSibling, getParent, getValue, getWrappedElement, getXMLNS, hashCode, removeAttribute, removeChild, setAttribute, setAttributes, setChildElementValue, setChildElementValue, setParent, setValue, setXMLNSpublic String getFieldValue() throws XMLException
XMLExceptionpublic void setFieldValue(String value) throws XMLException
value - value of fieldXMLExceptionCopyright © 2006–2018 Tigase. All rights reserved.