Package org.apache.axis2.databinding
Class ADBHelperDataSource<T>
java.lang.Object
org.apache.axiom.om.ds.AbstractOMDataSource
org.apache.axiom.om.ds.AbstractPushOMDataSource
org.apache.axis2.databinding.AbstractADBDataSource
org.apache.axis2.databinding.ADBHelperDataSource<T>
- All Implemented Interfaces:
org.apache.axiom.om.OMDataSource,org.apache.axiom.om.OMDataSourceExt,org.apache.axiom.om.QNameAwareOMDataSource
-
Field Summary
Fields inherited from class org.apache.axis2.databinding.AbstractADBDataSource
parentQName -
Constructor Summary
ConstructorsConstructorDescriptionADBHelperDataSource(T bean, QName parentQName, ADBHelper<T> helper) Constructor taking in an ADBBean -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Close the DataSource and free its resources.Returns the backing Object.voidserialize(XMLStreamWriter xmlWriter) This needs to be generated inside the ADB beanMethods inherited from class org.apache.axis2.databinding.AbstractADBDataSource
copy, getLocalName, getNamespaceURI, getPrefix, isDestructiveWriteMethods inherited from class org.apache.axiom.om.ds.AbstractPushOMDataSource
getReader, isDestructiveReadMethods inherited from class org.apache.axiom.om.ds.AbstractOMDataSource
getProperty, getXMLBytes, getXMLInputStream, hasProperty, serialize, serialize, setPropertyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.axiom.om.OMDataSource
getReader, serialize, serialize
-
Constructor Details
-
ADBHelperDataSource
Constructor taking in an ADBBean- Parameters:
bean-
-
-
Method Details
-
serialize
This needs to be generated inside the ADB bean- Parameters:
xmlWriter-- Throws:
XMLStreamException- See Also:
-
OMDataSource.serialize(javax.xml.stream.XMLStreamWriter)
-
getObject
Returns the backing Object.- Specified by:
getObjectin interfaceorg.apache.axiom.om.OMDataSourceExt- Overrides:
getObjectin classorg.apache.axiom.om.ds.AbstractOMDataSource- Returns:
- Object
-
close
public void close()Close the DataSource and free its resources.- Specified by:
closein interfaceorg.apache.axiom.om.OMDataSourceExt- Overrides:
closein classorg.apache.axiom.om.ds.AbstractOMDataSource
-