Package org.apache.axis2.databinding
Class ADBDataSource
- java.lang.Object
-
- org.apache.axiom.om.ds.AbstractOMDataSource
-
- org.apache.axiom.om.ds.AbstractPushOMDataSource
-
- org.apache.axis2.databinding.AbstractADBDataSource
-
- org.apache.axis2.databinding.ADBDataSource
-
- All Implemented Interfaces:
OMDataSource,OMDataSourceExt,QNameAwareOMDataSource
public class ADBDataSource extends AbstractADBDataSource
-
-
Field Summary
-
Fields inherited from class org.apache.axis2.databinding.AbstractADBDataSource
parentQName
-
-
Constructor Summary
Constructors Constructor Description ADBDataSource(ADBBean bean, QName parentQName)Constructor taking in an ADBBean
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Close the DataSource and free its resources.ObjectgetObject()Returns the backing Object.voidserialize(XMLStreamWriter xmlWriter)This needs to be generated inside the ADB bean-
Methods inherited from class org.apache.axis2.databinding.AbstractADBDataSource
copy, getLocalName, getNamespaceURI, getPrefix, isDestructiveWrite
-
Methods inherited from class org.apache.axiom.om.ds.AbstractPushOMDataSource
getReader, isDestructiveRead
-
Methods inherited from class org.apache.axiom.om.ds.AbstractOMDataSource
getProperty, getXMLBytes, getXMLInputStream, hasProperty, serialize, serialize, setProperty
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.axiom.om.OMDataSource
getReader, serialize, serialize
-
-
-
-
Method Detail
-
serialize
public void serialize(XMLStreamWriter xmlWriter) throws XMLStreamException
This needs to be generated inside the ADB bean- Parameters:
xmlWriter-- Throws:
XMLStreamException- See Also:
OMDataSource.serialize(javax.xml.stream.XMLStreamWriter)
-
getObject
public Object getObject()
Returns the backing Object.- Specified by:
getObjectin interfaceOMDataSourceExt- Overrides:
getObjectin classAbstractOMDataSource- Returns:
- Object
-
close
public void close()
Close the DataSource and free its resources.- Specified by:
closein interfaceOMDataSourceExt- Overrides:
closein classAbstractOMDataSource
-
-