public class XmlField extends Object implements RecordSerializable, XmlSerializable
SERIALIZED_CLASS_NAME, TYPEXML_SERIALIZED_CLASS_NAME| Constructor and Description |
|---|
XmlField() |
XmlField(String name,
String locationPathAsString,
boolean cascadeValues) |
XmlField(String name,
String locationPathAsString,
String cascadeResetLocationPath) |
| Modifier and Type | Method and Description |
|---|---|
protected XmlField |
addValue(long sequence,
Object value) |
XmlField |
fromRecord(Record source)
Loads this instance's state from a record and returns
this (for fluid API call chaining). |
XmlField |
fromXmlElement(Element xmlFieldElement) |
LocationPath |
getCascadeResetLocationPath() |
LocationPath |
getLocationPath() |
String |
getName() |
protected LinkedList<<any>> |
getValues() |
boolean |
isCascadeValues() |
protected XmlField |
removeValues(long sequence) |
XmlField |
setCascadeResetLocationPath(LocationPath cascadeResetLocationPath) |
XmlField |
setCascadeValues(boolean cascadeValues) |
XmlField |
setName(String name) |
Record |
toRecord() |
String |
toString() |
Element |
toXmlElement(Document document) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfromArrayValue, fromArrayValue, fromArrayValue, fromJson, fromJson, newInstanceFromRecord, newInstanceFromRecord, toArrayValue, toJson, toJson, toJson, toRecordnewInstanceFromJsonforEachGrandChildElement, fromXml, fromXml, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getChildElement, getChildElements, newInstanceFromXml, newInstanceFromXml, setAttribute, toXml, toXml, toXml, toXml, toXml, writeXml, writeXmlpublic String getName()
public LocationPath getLocationPath()
public boolean isCascadeValues()
public XmlField setCascadeValues(boolean cascadeValues)
public LocationPath getCascadeResetLocationPath()
public XmlField setCascadeResetLocationPath(LocationPath cascadeResetLocationPath)
protected LinkedList<<any>> getValues()
protected XmlField removeValues(long sequence)
public Record toRecord()
toRecord in interface RecordSerializablepublic XmlField fromRecord(Record source)
RecordSerializablethis (for fluid API call chaining).
For fluid API call chaining, the overridden method should change the declared return type to its class.fromRecord in interface RecordSerializablepublic Element toXmlElement(Document document)
toXmlElement in interface XmlSerializablepublic XmlField fromXmlElement(Element xmlFieldElement)
fromXmlElement in interface XmlSerializableCopyright (c) 2006-2025 North Concepts Inc. All Rights Reserved.