public class XmlTextField extends XmlFieldFormat
XML_TYPE_ATTRIBUTE, XML_TYPE_ELEMENT, XML_TYPE_NONE, XML_TYPE_TEXT| Constructor and Description |
|---|
XmlTextField()
Constructs a new XmlTextField.
|
| Modifier and Type | Method and Description |
|---|---|
String |
extractText(XmlUnmarshallingContext context)
Extracts a field from a record during unmarshalling.
|
String |
getLocalName()
Returns the XML local name for this node.
|
String |
getNamespace()
Returns the namespace of this node.
|
String |
getPrefix()
Returns the namespace prefix for marshaling this node, or null
if the namespace should override the default namespace.
|
int |
getType()
Returns the XML node type.
|
void |
insertText(XmlMarshallingContext ctx,
String text)
Inserts a field into the record during marshalling.
|
boolean |
isNamespaceAware()
Returns true if a namespace was configured for this node, and is
therefore used to unmarshal and marshal the node.
|
boolean |
isNillable()
Returns whether this field is nillable.
|
boolean |
isRepeating()
Returns whether this node may repeat in the context of its immediate parent.
|
extract, getName, getPadding, getSize, insertField, insertValue, isLazy, setLazy, setName, setPadding, toParamString, toStringpublic String extractText(XmlUnmarshallingContext context)
XmlFieldFormatextractText in class XmlFieldFormatcontext - the XmlUnmarshallingContext holding the recordpublic void insertText(XmlMarshallingContext ctx, String text)
XmlFieldFormatinsertText in class XmlFieldFormatctx - the XmlMarshallingContext holding the recordtext - the field text to insertpublic int getType()
XmlNodeXmlNode.XML_TYPE_NONE,
XmlNode.XML_TYPE_ELEMENT,
XmlNode.XML_TYPE_ATTRIBUTE, or
XmlNode.XML_TYPE_TEXTpublic boolean isNillable()
FieldFormatpublic String getLocalName()
XmlNodepublic String getNamespace()
XmlNodepublic boolean isNamespaceAware()
XmlNodepublic String getPrefix()
XmlNodepublic boolean isRepeating()
XmlNode