Module org.citygml4j.xml
Package org.citygml4j.xml.adapter.core
Class AbstractGenericAttributeAdapter<T extends org.citygml4j.core.model.core.AbstractGenericAttribute<?>>
- java.lang.Object
-
- org.citygml4j.xml.adapter.core.AbstractGenericAttributeAdapter<T>
-
- All Implemented Interfaces:
org.xmlobjects.builder.ObjectBuilder<T>,org.xmlobjects.serializer.ObjectSerializer<T>
- Direct Known Subclasses:
CodeAttributeAdapter,DateAttributeAdapter,DoubleAttributeAdapter,GenericAttributeSetAdapter,IntAttributeAdapter,MeasureAttributeAdapter,StringAttributeAdapter,UriAttributeAdapter
public abstract class AbstractGenericAttributeAdapter<T extends org.citygml4j.core.model.core.AbstractGenericAttribute<?>> extends java.lang.Object implements org.xmlobjects.builder.ObjectBuilder<T>, org.xmlobjects.serializer.ObjectSerializer<T>
-
-
Constructor Summary
Constructors Constructor Description AbstractGenericAttributeAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbuildChildObject(T object, javax.xml.namespace.QName name, org.xmlobjects.xml.Attributes attributes, org.xmlobjects.stream.XMLReader reader)voidinitializeElement(org.xmlobjects.xml.Element element, T object, org.xmlobjects.xml.Namespaces namespaces, org.xmlobjects.stream.XMLWriter writer)voidinitializeObject(T object, javax.xml.namespace.QName name, org.xmlobjects.xml.Attributes attributes, org.xmlobjects.stream.XMLReader reader)voidwriteChildElements(T object, org.xmlobjects.xml.Namespaces namespaces, org.xmlobjects.stream.XMLWriter writer)
-
-
-
Method Detail
-
initializeObject
public void initializeObject(T object, javax.xml.namespace.QName name, org.xmlobjects.xml.Attributes attributes, org.xmlobjects.stream.XMLReader reader) throws org.xmlobjects.builder.ObjectBuildException, org.xmlobjects.stream.XMLReadException
- Specified by:
initializeObjectin interfaceorg.xmlobjects.builder.ObjectBuilder<T extends org.citygml4j.core.model.core.AbstractGenericAttribute<?>>- Throws:
org.xmlobjects.builder.ObjectBuildExceptionorg.xmlobjects.stream.XMLReadException
-
buildChildObject
public void buildChildObject(T object, javax.xml.namespace.QName name, org.xmlobjects.xml.Attributes attributes, org.xmlobjects.stream.XMLReader reader) throws org.xmlobjects.builder.ObjectBuildException, org.xmlobjects.stream.XMLReadException
- Specified by:
buildChildObjectin interfaceorg.xmlobjects.builder.ObjectBuilder<T extends org.citygml4j.core.model.core.AbstractGenericAttribute<?>>- Throws:
org.xmlobjects.builder.ObjectBuildExceptionorg.xmlobjects.stream.XMLReadException
-
initializeElement
public void initializeElement(org.xmlobjects.xml.Element element, T object, org.xmlobjects.xml.Namespaces namespaces, org.xmlobjects.stream.XMLWriter writer) throws org.xmlobjects.serializer.ObjectSerializeException, org.xmlobjects.stream.XMLWriteException- Specified by:
initializeElementin interfaceorg.xmlobjects.serializer.ObjectSerializer<T extends org.citygml4j.core.model.core.AbstractGenericAttribute<?>>- Throws:
org.xmlobjects.serializer.ObjectSerializeExceptionorg.xmlobjects.stream.XMLWriteException
-
writeChildElements
public void writeChildElements(T object, org.xmlobjects.xml.Namespaces namespaces, org.xmlobjects.stream.XMLWriter writer) throws org.xmlobjects.serializer.ObjectSerializeException, org.xmlobjects.stream.XMLWriteException
- Specified by:
writeChildElementsin interfaceorg.xmlobjects.serializer.ObjectSerializer<T extends org.citygml4j.core.model.core.AbstractGenericAttribute<?>>- Throws:
org.xmlobjects.serializer.ObjectSerializeExceptionorg.xmlobjects.stream.XMLWriteException
-
-