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 QName
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.axiom.om.OMDataSourceExt
     
    final String
     
    final String
     
    final String
     
    boolean
    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 Details

    • parentQName

      protected QName parentQName
  • Constructor Details

    • AbstractADBDataSource

      public AbstractADBDataSource(QName parentQName)
  • Method Details

    • getLocalName

      public final String getLocalName()
      Specified by:
      getLocalName in interface org.apache.axiom.om.QNameAwareOMDataSource
    • getNamespaceURI

      public final String getNamespaceURI()
      Specified by:
      getNamespaceURI in interface org.apache.axiom.om.QNameAwareOMDataSource
    • getPrefix

      public final String getPrefix()
      Specified by:
      getPrefix in interface org.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:
      isDestructiveWrite in interface org.apache.axiom.om.OMDataSourceExt
      Returns:
      boolean
    • copy

      public org.apache.axiom.om.OMDataSourceExt copy()
      Specified by:
      copy in interface org.apache.axiom.om.OMDataSourceExt
      Overrides:
      copy in class org.apache.axiom.om.ds.AbstractOMDataSource