|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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.OMDataSourceserialize in interface org.apache.axiom.om.OMDataSourceExtoutput - format -
javax.xml.stream.XMLStreamExceptionOMDataSource.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.OMDataSourceserialize in interface org.apache.axiom.om.OMDataSourceExtwriter - format -
javax.xml.stream.XMLStreamExceptionOMDataSource.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.OMDataSourceserialize in interface org.apache.axiom.om.OMDataSourceExtxmlWriter -
javax.xml.stream.XMLStreamExceptionOMDataSource.serialize(javax.xml.stream.XMLStreamWriter)
public javax.xml.stream.XMLStreamReader getReader()
throws javax.xml.stream.XMLStreamException
getReader in interface org.apache.axiom.om.OMDataSourcegetReader in interface org.apache.axiom.om.OMDataSourceExtjavax.xml.stream.XMLStreamExceptionOMDataSource.getReader()public java.lang.Object getObject()
getObject in interface org.apache.axiom.om.OMDataSourceExtpublic boolean isDestructiveRead()
isDestructiveRead in interface org.apache.axiom.om.OMDataSourceExtpublic 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.OMDataSourceExtencoding - 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.OMDataSourceExtencoding - String encoding of InputStream
java.io.UnsupportedEncodingExceptiongetXMLInputStreampublic void close()
close in interface org.apache.axiom.om.OMDataSourceExtpublic org.apache.axiom.om.OMDataSourceExt copy()
copy in interface org.apache.axiom.om.OMDataSourceExtpublic 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.OMDataSourceExtpublic 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 | |||||||||