public class FixedField extends AbstractField<String>
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.
VAR_COMPARATOR
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, setVar
addChild, 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, setXMLNS, toString
public String getFieldValue() throws XMLException
XMLException
public void setFieldValue(String value) throws XMLException
value
- value of fieldXMLException
Copyright © 2006–2023 Tigase. All rights reserved.