Class ListDelegate
java.lang.Object
com.inductiveautomation.ignition.common.xmlserialization.serialization.AbstractSerializationDelegate<Object>
com.inductiveautomation.ignition.common.xmlserialization.serialization.DefaultObjectSerializationDelegate
com.inductiveautomation.ignition.common.xmlserialization.serialization.delegates.ListDelegate
- All Implemented Interfaces:
SerializationDelegate<Object>
-
Field Summary
Fields inherited from class com.inductiveautomation.ignition.common.xmlserialization.serialization.DefaultObjectSerializationDelegate
elementName, propertyComparator, skipReferenceTracking, TRANSIENT_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionserialize(XMLSerializationContext context, Object obj) protected voidserializeElements(XMLSerializationContext context, Element elm, List list) protected ElementstartObject(XMLSerializationContext context, Object obj) Creates an Element with this delegate's element name and with the "cls" attribute set to the object's class.Methods inherited from class com.inductiveautomation.ignition.common.xmlserialization.serialization.DefaultObjectSerializationDelegate
doProperty, initConstructorTypes, isConstructorOnly, isSkipReferenceTracking, isTransient, serializeConstructor, serializeProperties, setConstructorOnly, setSkipReferenceTracking, writeCall, writeCall, writeConstructor
-
Constructor Details
-
ListDelegate
public ListDelegate()
-
-
Method Details
-
startObject
protected Element startObject(XMLSerializationContext context, Object obj) throws SerializationException Description copied from class:DefaultObjectSerializationDelegateCreates an Element with this delegate's element name and with the "cls" attribute set to the object's class.- Overrides:
startObjectin classDefaultObjectSerializationDelegate- Throws:
SerializationException
-
serialize
- Specified by:
serializein interfaceSerializationDelegate<Object>- Overrides:
serializein classDefaultObjectSerializationDelegate- Throws:
SerializationException
-
serializeElements
protected void serializeElements(XMLSerializationContext context, Element elm, List list) throws SerializationException - Throws:
SerializationException
-