|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis2.databinding.ADBHelperDataSource
public abstract class ADBHelperDataSource
Field Summary | |
---|---|
protected java.lang.Object |
bean
|
protected java.lang.String |
helperClassName
|
protected QName |
parentQName
|
Constructor Summary | |
---|---|
protected |
ADBHelperDataSource(java.lang.Object bean,
QName parentQName,
java.lang.String helperClassName)
Constructor taking in an ADBBean |
Method Summary | |
---|---|
void |
close()
Close the DataSource and free its resources. |
org.apache.axiom.om.OMDataSourceExt |
copy()
|
java.lang.Object |
getObject()
Returns the backing Object. |
java.lang.Object |
getProperty(java.lang.String key)
|
javax.xml.stream.XMLStreamReader |
getReader()
|
byte[] |
getXMLBytes(java.lang.String encoding)
Returns a byte[] representing the xml data |
java.io.InputStream |
getXMLInputStream(java.lang.String encoding)
Returns a InputStream representing the xml data |
boolean |
hasProperty(java.lang.String key)
|
boolean |
isDestructiveRead()
Returns true if reading the backing object is destructive. |
boolean |
isDestructiveWrite()
Returns true if writing the backing object is destructive. |
void |
serialize(java.io.OutputStream output,
org.apache.axiom.om.OMOutputFormat format)
|
void |
serialize(java.io.Writer writer,
org.apache.axiom.om.OMOutputFormat format)
|
abstract void |
serialize(javax.xml.stream.XMLStreamWriter xmlWriter)
This needs to be generated inside the ADB bean |
java.lang.Object |
setProperty(java.lang.String key,
java.lang.Object value)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected QName parentQName
protected java.lang.Object bean
protected java.lang.String helperClassName
Constructor Detail |
---|
protected ADBHelperDataSource(java.lang.Object bean, QName parentQName, java.lang.String helperClassName)
bean
- Method Detail |
---|
public void serialize(java.io.OutputStream output, org.apache.axiom.om.OMOutputFormat format) throws javax.xml.stream.XMLStreamException
serialize
in interface org.apache.axiom.om.OMDataSource
serialize
in interface org.apache.axiom.om.OMDataSourceExt
output
- format
-
javax.xml.stream.XMLStreamException
OMDataSource.serialize(java.io.OutputStream, org.apache.axiom.om.OMOutputFormat)
public void serialize(java.io.Writer writer, org.apache.axiom.om.OMOutputFormat format) throws javax.xml.stream.XMLStreamException
serialize
in interface org.apache.axiom.om.OMDataSource
serialize
in interface org.apache.axiom.om.OMDataSourceExt
writer
- format
-
javax.xml.stream.XMLStreamException
OMDataSource.serialize(java.io.Writer, org.apache.axiom.om.OMOutputFormat)
public abstract void serialize(javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException
serialize
in interface org.apache.axiom.om.OMDataSource
serialize
in interface org.apache.axiom.om.OMDataSourceExt
xmlWriter
-
javax.xml.stream.XMLStreamException
OMDataSource.serialize(javax.xml.stream.XMLStreamWriter)
public javax.xml.stream.XMLStreamReader getReader() throws javax.xml.stream.XMLStreamException
getReader
in interface org.apache.axiom.om.OMDataSource
getReader
in interface org.apache.axiom.om.OMDataSourceExt
javax.xml.stream.XMLStreamException
OMDataSource.getReader()
public java.lang.Object getObject()
getObject
in interface org.apache.axiom.om.OMDataSourceExt
public boolean isDestructiveRead()
isDestructiveRead
in interface org.apache.axiom.om.OMDataSourceExt
public boolean isDestructiveWrite()
isDestructiveWrite
in interface org.apache.axiom.om.OMDataSourceExt
public java.io.InputStream getXMLInputStream(java.lang.String encoding) throws java.io.UnsupportedEncodingException
getXMLInputStream
in interface org.apache.axiom.om.OMDataSourceExt
encoding
- String encoding of InputStream
java.io.UnsupportedEncodingException
public byte[] getXMLBytes(java.lang.String encoding) throws java.io.UnsupportedEncodingException
getXMLBytes
in interface org.apache.axiom.om.OMDataSourceExt
encoding
- String encoding of InputStream
java.io.UnsupportedEncodingException
getXMLInputStream
public void close()
close
in interface org.apache.axiom.om.OMDataSourceExt
public org.apache.axiom.om.OMDataSourceExt copy()
copy
in interface org.apache.axiom.om.OMDataSourceExt
public java.lang.Object getProperty(java.lang.String key)
getProperty
in interface org.apache.axiom.om.OMDataSourceExt
public java.lang.Object setProperty(java.lang.String key, java.lang.Object value)
setProperty
in interface org.apache.axiom.om.OMDataSourceExt
public boolean hasProperty(java.lang.String key)
hasProperty
in interface org.apache.axiom.om.OMDataSourceExt
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |