|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis2.databinding.ADBDataSource
public class ADBDataSource
Field Summary | |
---|---|
protected QName |
parentQName
|
Fields inherited from interface org.apache.axiom.om.OMDataSourceExt |
---|
LOSSY_PREFIX |
Constructor Summary | |
---|---|
ADBDataSource(ADBBean bean,
QName parentQName)
Constructor taking in an ADBBean |
Method Summary | |
---|---|
void |
close()
Close the DataSource and free its resources. |
org.apache.axiom.om.OMDataSourceExt |
copy()
|
Object |
getObject()
Returns the backing Object. |
Object |
getProperty(String key)
|
XMLStreamReader |
getReader()
|
byte[] |
getXMLBytes(String encoding)
Returns a byte[] representing the xml data |
InputStream |
getXMLInputStream(String encoding)
Returns a InputStream representing the xml data |
boolean |
hasProperty(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(OutputStream output,
org.apache.axiom.om.OMOutputFormat format)
|
void |
serialize(Writer writer,
org.apache.axiom.om.OMOutputFormat format)
|
void |
serialize(XMLStreamWriter xmlWriter)
This needs to be generated inside the ADB bean |
Object |
setProperty(String key,
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
Constructor Detail |
---|
public ADBDataSource(ADBBean bean, QName parentQName)
bean
- Method Detail |
---|
public void serialize(OutputStream output, org.apache.axiom.om.OMOutputFormat format) throws XMLStreamException
serialize
in interface org.apache.axiom.om.OMDataSource
serialize
in interface org.apache.axiom.om.OMDataSourceExt
output
- format
-
XMLStreamException
OMDataSource.serialize(java.io.OutputStream, org.apache.axiom.om.OMOutputFormat)
public void serialize(Writer writer, org.apache.axiom.om.OMOutputFormat format) throws XMLStreamException
serialize
in interface org.apache.axiom.om.OMDataSource
serialize
in interface org.apache.axiom.om.OMDataSourceExt
writer
- format
-
XMLStreamException
OMDataSource.serialize(java.io.Writer, org.apache.axiom.om.OMOutputFormat)
public void serialize(XMLStreamWriter xmlWriter) throws XMLStreamException
serialize
in interface org.apache.axiom.om.OMDataSource
serialize
in interface org.apache.axiom.om.OMDataSourceExt
xmlWriter
-
XMLStreamException
OMDataSource.serialize(javax.xml.stream.XMLStreamWriter)
public XMLStreamReader getReader() throws XMLStreamException
getReader
in interface org.apache.axiom.om.OMDataSource
getReader
in interface org.apache.axiom.om.OMDataSourceExt
XMLStreamException
OMDataSource.getReader()
public 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 InputStream getXMLInputStream(String encoding) throws UnsupportedEncodingException
getXMLInputStream
in interface org.apache.axiom.om.OMDataSourceExt
encoding
- String encoding of InputStream
UnsupportedEncodingException
public byte[] getXMLBytes(String encoding) throws UnsupportedEncodingException
getXMLBytes
in interface org.apache.axiom.om.OMDataSourceExt
encoding
- String encoding of InputStream
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 Object getProperty(String key)
getProperty
in interface org.apache.axiom.om.OMDataSourceExt
public Object setProperty(String key, Object value)
setProperty
in interface org.apache.axiom.om.OMDataSourceExt
public boolean hasProperty(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 |