public class XmlField extends Object implements RecordSerializable, XmlSerializable
SERIALIZED_CLASS_NAME, TYPE
XML_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, wait
fromArrayValue, fromArrayValue, fromArrayValue, fromJson, fromJson, newInstanceFromRecord, newInstanceFromRecord, toArrayValue, toJson, toJson, toJson, toRecord
newInstanceFromJson
forEachGrandChildElement, fromXml, fromXml, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getChildElement, getChildElements, newInstanceFromXml, newInstanceFromXml, setAttribute, toXml, toXml, toXml, toXml, toXml, writeXml, writeXml
public 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 RecordSerializable
public XmlField fromRecord(Record source)
RecordSerializable
this
(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 RecordSerializable
public Element toXmlElement(Document document)
toXmlElement
in interface XmlSerializable
public XmlField fromXmlElement(Element xmlFieldElement)
fromXmlElement
in interface XmlSerializable
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.