Package org.apache.axis2.databinding
Class AbstractADBDataSource
- java.lang.Object
-
- org.apache.axiom.om.ds.AbstractOMDataSource
-
- org.apache.axiom.om.ds.AbstractPushOMDataSource
-
- org.apache.axis2.databinding.AbstractADBDataSource
-
- All Implemented Interfaces:
OMDataSource,OMDataSourceExt,QNameAwareOMDataSource
- Direct Known Subclasses:
ADBDataSource,ADBHelperDataSource
public abstract class AbstractADBDataSource extends AbstractPushOMDataSource implements QNameAwareOMDataSource
-
-
Field Summary
Fields Modifier and Type Field Description protected QNameparentQName
-
Constructor Summary
Constructors Constructor Description AbstractADBDataSource(QName parentQName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OMDataSourceExtcopy()StringgetLocalName()StringgetNamespaceURI()StringgetPrefix()booleanisDestructiveWrite()Returns true if writing the backing object is destructive.-
Methods inherited from class org.apache.axiom.om.ds.AbstractPushOMDataSource
getReader, isDestructiveRead
-
Methods inherited from class org.apache.axiom.om.ds.AbstractOMDataSource
close, getObject, getProperty, getXMLBytes, getXMLInputStream, hasProperty, serialize, serialize, setProperty
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.axiom.om.OMDataSource
getReader, serialize, serialize, serialize
-
-
-
-
Field Detail
-
parentQName
protected QName parentQName
-
-
Constructor Detail
-
AbstractADBDataSource
public AbstractADBDataSource(QName parentQName)
-
-
Method Detail
-
getLocalName
public final String getLocalName()
- Specified by:
getLocalNamein interfaceQNameAwareOMDataSource
-
getNamespaceURI
public final String getNamespaceURI()
- Specified by:
getNamespaceURIin interfaceQNameAwareOMDataSource
-
getPrefix
public final String getPrefix()
- Specified by:
getPrefixin interfaceQNameAwareOMDataSource
-
isDestructiveWrite
public boolean isDestructiveWrite()
Returns true if writing the backing object is destructive. An example of an object with a destructive write is an InputStream. The owning OMSourcedElement uses this information to detemine if OM tree expansion is needed when writing the OMDataSourceExt.- Specified by:
isDestructiveWritein interfaceOMDataSourceExt- Returns:
- boolean
-
copy
public OMDataSourceExt copy()
- Specified by:
copyin interfaceOMDataSourceExt- Overrides:
copyin classAbstractOMDataSource
-
-