Class BasicContainerDelegate
java.lang.Object
com.inductiveautomation.ignition.common.xmlserialization.serialization.AbstractSerializationDelegate<Object>
com.inductiveautomation.ignition.common.xmlserialization.serialization.DefaultObjectSerializationDelegate
com.inductiveautomation.factorypmi.designer.xmlserialization.DefaultComponentDelegate
com.inductiveautomation.factorypmi.designer.xmlserialization.BasicContainerDelegate
- All Implemented Interfaces:
SerializationDelegate<Object>
-
Field Summary
Fields inherited from class DefaultComponentDelegate
bool, border, color, cursor, dataSet, dim, ignore, integer, putClientProperty, rect, rect2d, string, treeMapFields inherited from class DefaultObjectSerializationDelegate
elementName, propertyComparator, skipReferenceTracking, TRANSIENT_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionserialize(XMLSerializationContext context, Object obj) protected voidserializeProperties(XMLSerializationContext context, Element elm, Object obj) Runs through the javabean properties of the given object, and compares the values of each property to the value that a clean copy of the object would have.Methods inherited from class DefaultComponentDelegate
isTransient, serializeClientProperties, serializeComponentCommons
-
Constructor Details
-
BasicContainerDelegate
public BasicContainerDelegate()
-
-
Method Details
-
serialize
- Specified by:
serializein interfaceSerializationDelegate<Object>- Overrides:
serializein classDefaultObjectSerializationDelegate- Throws:
SerializationException
-
serializeProperties
protected void serializeProperties(XMLSerializationContext context, Element elm, Object obj) throws SerializationException Description copied from class:DefaultObjectSerializationDelegateRuns through the javabean properties of the given object, and compares the values of each property to the value that a clean copy of the object would have. Serializes all properties that have a dirty value.- Overrides:
serializePropertiesin classDefaultComponentDelegate- Throws:
SerializationException
-