public class ListDelegate extends DefaultObjectSerializationDelegate
elementName, equalityDelegates, propertyComparator, skipReferenceTracking, TRANSIENT_KEY
Constructor and Description |
---|
ListDelegate() |
Modifier and Type | Method and Description |
---|---|
Element |
serialize(XMLSerializationContext context,
java.lang.Object obj) |
protected void |
serializeElements(XMLSerializationContext context,
Element elm,
java.util.List list) |
protected Element |
startObject(XMLSerializationContext context,
java.lang.Object obj)
Creates an Element with this delegate's element name and with the "cls" attribute set to the object's class.
|
doProperty, initConstructorTypes, isConstructorOnly, isSkipReferenceTracking, isTransient, safeArrayEquals, safeEquals, serializeConstructor, serializeProperties, setConstructorOnly, setSkipReferenceTracking, writeCall, writeCall, writeConstructor
protected Element startObject(XMLSerializationContext context, java.lang.Object obj) throws SerializationException
DefaultObjectSerializationDelegate
startObject
in class DefaultObjectSerializationDelegate
SerializationException
public Element serialize(XMLSerializationContext context, java.lang.Object obj) throws SerializationException
serialize
in interface SerializationDelegate<java.lang.Object>
serialize
in class DefaultObjectSerializationDelegate
SerializationException
protected void serializeElements(XMLSerializationContext context, Element elm, java.util.List list) throws SerializationException
SerializationException