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