Class BXResourceSet

  • All Implemented Interfaces:
    org.xmldb.api.base.ResourceSet

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

      • getResource

        public org.xmldb.api.base.Resource getResource​(long index)
                                                throws org.xmldb.api.base.XMLDBException
        Specified by:
        getResource in interface org.xmldb.api.base.ResourceSet
        Throws:
        org.xmldb.api.base.XMLDBException
      • addResource

        public void addResource​(org.xmldb.api.base.Resource resource)
        Specified by:
        addResource in interface org.xmldb.api.base.ResourceSet
      • removeResource

        public void removeResource​(long index)
        Specified by:
        removeResource in interface org.xmldb.api.base.ResourceSet
      • getIterator

        public BXResourceIterator getIterator()
        Specified by:
        getIterator in interface org.xmldb.api.base.ResourceSet
      • getMembersAsResource

        public org.xmldb.api.base.Resource getMembersAsResource()
                                                         throws org.xmldb.api.base.XMLDBException
        Specified by:
        getMembersAsResource in interface org.xmldb.api.base.ResourceSet
        Throws:
        org.xmldb.api.base.XMLDBException
      • getSize

        public long getSize()
        Specified by:
        getSize in interface org.xmldb.api.base.ResourceSet
      • clear

        public void clear()
        Specified by:
        clear in interface org.xmldb.api.base.ResourceSet