java.lang.Object
org.xmlobjects.util.composite.CompositeObjectAdapter<T>
- All Implemented Interfaces:
ObjectBuilder<T>,ObjectSerializer<T>
public abstract class CompositeObjectAdapter<T>
extends Object
implements ObjectBuilder<T>, ObjectSerializer<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildChildObject(T object, QName name, Attributes attributes, XMLReader reader) voidinitializeElement(Element element, T object, Namespaces namespaces, XMLWriter writer) voidinitializeObject(T object, QName name, Attributes attributes, XMLReader reader) voidwriteChildElements(T object, Namespaces namespaces, XMLWriter writer) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xmlobjects.builder.ObjectBuilder
createObjectMethods inherited from interface org.xmlobjects.serializer.ObjectSerializer
createElement
-
Constructor Details
-
CompositeObjectAdapter
-
-
Method Details
-
initializeObject
public void initializeObject(T object, QName name, Attributes attributes, XMLReader reader) throws ObjectBuildException, XMLReadException - Specified by:
initializeObjectin interfaceObjectBuilder<T>- Throws:
ObjectBuildExceptionXMLReadException
-
buildChildObject
public void buildChildObject(T object, QName name, Attributes attributes, XMLReader reader) throws ObjectBuildException, XMLReadException - Specified by:
buildChildObjectin interfaceObjectBuilder<T>- Throws:
ObjectBuildExceptionXMLReadException
-
initializeElement
public void initializeElement(Element element, T object, Namespaces namespaces, XMLWriter writer) throws ObjectSerializeException, XMLWriteException - Specified by:
initializeElementin interfaceObjectSerializer<T>- Throws:
ObjectSerializeExceptionXMLWriteException
-
writeChildElements
public void writeChildElements(T object, Namespaces namespaces, XMLWriter writer) throws ObjectSerializeException, XMLWriteException - Specified by:
writeChildElementsin interfaceObjectSerializer<T>- Throws:
ObjectSerializeExceptionXMLWriteException
-