Class 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 Detail

      • parentQName

        protected QName parentQName
    • Constructor Detail

      • AbstractADBDataSource

        public AbstractADBDataSource​(QName parentQName)
    • Method Detail

      • 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