Class BXXMLResource

  • All Implemented Interfaces:
    org.xmldb.api.base.Resource, org.xmldb.api.modules.XMLResource

    public final class BXXMLResource
    extends Object
    implements org.xmldb.api.modules.XMLResource
    Implementation of the XMLResource Interface for the XMLDB:API.
    Author:
    BaseX Team 2005-23, BSD License, Christian Gruen
    • Method Detail

      • getParentCollection

        public org.xmldb.api.base.Collection getParentCollection()
        Specified by:
        getParentCollection in interface org.xmldb.api.base.Resource
      • getId

        public String getId()
        Specified by:
        getId in interface org.xmldb.api.base.Resource
      • getResourceType

        public String getResourceType()
        Specified by:
        getResourceType in interface org.xmldb.api.base.Resource
      • getContent

        public Object getContent()
                          throws org.xmldb.api.base.XMLDBException
        Specified by:
        getContent in interface org.xmldb.api.base.Resource
        Throws:
        org.xmldb.api.base.XMLDBException
      • setContent

        public void setContent​(Object value)
                        throws org.xmldb.api.base.XMLDBException
        Specified by:
        setContent in interface org.xmldb.api.base.Resource
        Throws:
        org.xmldb.api.base.XMLDBException
      • getDocumentId

        public String getDocumentId()
                             throws org.xmldb.api.base.XMLDBException
        Specified by:
        getDocumentId in interface org.xmldb.api.modules.XMLResource
        Throws:
        org.xmldb.api.base.XMLDBException
      • getContentAsDOM

        public Node getContentAsDOM()
        Specified by:
        getContentAsDOM in interface org.xmldb.api.modules.XMLResource
      • setContentAsDOM

        public void setContentAsDOM​(Node cont)
                             throws org.xmldb.api.base.XMLDBException
        Specified by:
        setContentAsDOM in interface org.xmldb.api.modules.XMLResource
        Throws:
        org.xmldb.api.base.XMLDBException
      • getContentAsSAX

        public void getContentAsSAX​(ContentHandler handler)
                             throws org.xmldb.api.base.XMLDBException
        Specified by:
        getContentAsSAX in interface org.xmldb.api.modules.XMLResource
        Throws:
        org.xmldb.api.base.XMLDBException
      • setContentAsSAX

        public ContentHandler setContentAsSAX()
        Specified by:
        setContentAsSAX in interface org.xmldb.api.modules.XMLResource