tigase.jaxmpp.core.client.xmpp.forms
Class FixedField

java.lang.Object
  extended by tigase.jaxmpp.core.client.xml.ElementWrapper
      extended by tigase.jaxmpp.core.client.xmpp.forms.AbstractField<String>
          extended by tigase.jaxmpp.core.client.xmpp.forms.FixedField
All Implemented Interfaces:
Element, Field<String>

public class FixedField
extends AbstractField<String>

Implementation of Fixed field type.

The field is intended for data description (e.g., human-readable text such as "section" headers) rather than data gathering or provision. The <value/> child SHOULD NOT contain newlines (the \n and \r characters); instead an application SHOULD generate multiple fixed fields, each with one <value/> child.


Method Summary
 String getFieldValue()
          Returns value of field.
 void setFieldValue(String 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

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.