org.apache.axis2.databinding
Class ADBHelperDataSource
java.lang.Object
org.apache.axis2.databinding.ADBHelperDataSource
- All Implemented Interfaces:
- org.apache.axiom.om.OMDataSource
public abstract class ADBHelperDataSource
- extends Object
- implements org.apache.axiom.om.OMDataSource
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parentQName
protected QName parentQName
bean
protected Object bean
helperClassName
protected String helperClassName
ADBHelperDataSource
protected ADBHelperDataSource(Object bean,
QName parentQName,
String helperClassName)
- Constructor taking in an ADBBean
- Parameters:
bean
-
serialize
public void serialize(OutputStream output,
org.apache.axiom.om.OMOutputFormat format)
throws XMLStreamException
- Specified by:
serialize
in interface org.apache.axiom.om.OMDataSource
- Parameters:
output
- format
-
- Throws:
XMLStreamException
- See Also:
OMDataSource.serialize(java.io.OutputStream, org.apache.axiom.om.OMOutputFormat)
serialize
public void serialize(Writer writer,
org.apache.axiom.om.OMOutputFormat format)
throws XMLStreamException
- Specified by:
serialize
in interface org.apache.axiom.om.OMDataSource
- Parameters:
writer
- format
-
- Throws:
XMLStreamException
- See Also:
OMDataSource.serialize(java.io.Writer, org.apache.axiom.om.OMOutputFormat)
serialize
public abstract void serialize(XMLStreamWriter xmlWriter)
throws XMLStreamException
- This needs to be generated inside the ADB bean
- Specified by:
serialize
in interface org.apache.axiom.om.OMDataSource
- Parameters:
xmlWriter
-
- Throws:
XMLStreamException
- See Also:
OMDataSource.serialize(javax.xml.stream.XMLStreamWriter)
getReader
public XMLStreamReader getReader()
throws XMLStreamException
- Specified by:
getReader
in interface org.apache.axiom.om.OMDataSource
- Throws:
XMLStreamException
- See Also:
OMDataSource.getReader()