Class BXResourceIterator

java.lang.Object
org.basex.api.xmldb.BXResourceIterator
All Implemented Interfaces:
Iterable<org.xmldb.api.base.Resource>, org.xmldb.api.base.ResourceIterator

public final class BXResourceIterator extends Object implements org.xmldb.api.base.ResourceIterator, Iterable<org.xmldb.api.base.Resource>
Implementation of the ResourceIterator Interface for the XMLDB:API.
Author:
BaseX Team 2005-21, BSD License, Christian Gruen
  • Method Details

    • hasMoreResources

      public boolean hasMoreResources()
      Specified by:
      hasMoreResources in interface org.xmldb.api.base.ResourceIterator
    • nextResource

      public org.xmldb.api.base.Resource nextResource() throws org.xmldb.api.base.XMLDBException
      Specified by:
      nextResource in interface org.xmldb.api.base.ResourceIterator
      Throws:
      org.xmldb.api.base.XMLDBException
    • iterator

      public Iterator<org.xmldb.api.base.Resource> iterator()
      Specified by:
      iterator in interface Iterable<org.xmldb.api.base.Resource>