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:
org.apache.axiom.om.OMDataSource,org.apache.axiom.om.OMDataSourceExt,org.apache.axiom.om.QNameAwareOMDataSource
- Direct Known Subclasses:
ADBDataSource,ADBHelperDataSource
public abstract class AbstractADBDataSource extends org.apache.axiom.om.ds.AbstractPushOMDataSource implements org.apache.axiom.om.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 org.apache.axiom.om.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
-
-
-
-
Field Detail
-
parentQName
protected QName parentQName
-
-
Constructor Detail
-
AbstractADBDataSource
public AbstractADBDataSource(QName parentQName)
-
-
Method Detail
-
getLocalName
public final String getLocalName()
- Specified by:
getLocalNamein interfaceorg.apache.axiom.om.QNameAwareOMDataSource
-
getNamespaceURI
public final String getNamespaceURI()
- Specified by:
getNamespaceURIin interfaceorg.apache.axiom.om.QNameAwareOMDataSource
-
getPrefix
public final String getPrefix()
- Specified by:
getPrefixin interfaceorg.apache.axiom.om.QNameAwareOMDataSource
-
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 interfaceorg.apache.axiom.om.OMDataSourceExt- Returns:
- boolean
-
copy
public org.apache.axiom.om.OMDataSourceExt copy()
- Specified by:
copyin interfaceorg.apache.axiom.om.OMDataSourceExt- Overrides:
copyin classorg.apache.axiom.om.ds.AbstractOMDataSource
-
-