- java.lang.Object
-
- org.xmlobjects.util.composite.CompositeObjectAdapter<T>
-
- All Implemented Interfaces:
ObjectBuilder<T>,ObjectSerializer<T>
public abstract class CompositeObjectAdapter<T> extends java.lang.Object implements ObjectBuilder<T>, ObjectSerializer<T>
-
-
Constructor Summary
Constructors Constructor Description CompositeObjectAdapter(java.lang.Class<S> adapter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbuildChildObject(T object, javax.xml.namespace.QName name, Attributes attributes, XMLReader reader)voidinitializeElement(Element element, T object, Namespaces namespaces, XMLWriter writer)voidinitializeObject(T object, javax.xml.namespace.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, wait
-
Methods inherited from interface org.xmlobjects.builder.ObjectBuilder
createObject
-
Methods inherited from interface org.xmlobjects.serializer.ObjectSerializer
createElement
-
-
-
-
Method Detail
-
initializeObject
public void initializeObject(T object, javax.xml.namespace.QName name, Attributes attributes, XMLReader reader) throws ObjectBuildException, XMLReadException
- Specified by:
initializeObjectin interfaceObjectBuilder<T>- Throws:
ObjectBuildExceptionXMLReadException
-
buildChildObject
public void buildChildObject(T object, javax.xml.namespace.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
-
-