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 QName
parentQName
-
Constructor Summary
Constructors Constructor Description AbstractADBDataSource(QName parentQName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OMDataSourceExt
copy()
String
getLocalName()
String
getNamespaceURI()
String
getPrefix()
boolean
isDestructiveWrite()
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:
getLocalName
in interfaceQNameAwareOMDataSource
-
getNamespaceURI
public final String getNamespaceURI()
- Specified by:
getNamespaceURI
in interfaceQNameAwareOMDataSource
-
getPrefix
public final String getPrefix()
- Specified by:
getPrefix
in 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:
isDestructiveWrite
in interfaceOMDataSourceExt
- Returns:
- boolean
-
copy
public OMDataSourceExt copy()
- Specified by:
copy
in interfaceOMDataSourceExt
- Overrides:
copy
in classAbstractOMDataSource
-
-