| org.xmldb.api.base.ResourceIterator
All known Subclasses: org.ozoneDB.xml.cli.ResourceIteratorImpl,
ResourceIterator | public interface ResourceIterator (Code) | | ResourceIterator is used to iterate over a set of resources.
|
Method Summary | |
boolean | hasMoreResources() Returns true as long as there are still more resources to be iterated. | Resource | nextResource() Returns the next Resource instance in the iterator. |
hasMoreResources | boolean hasMoreResources() throws XMLDBException(Code) | | Returns true as long as there are still more resources to be iterated.
true if there are more resources to iterate, false otherwise. exception: XMLDBException - with expected error codes.
ErrorCodes.VENDOR_ERROR for any vendorspecific errors that occur.
|
nextResource | Resource nextResource() throws XMLDBException(Code) | | Returns the next Resource instance in the iterator.
the next Resource instance in the iterator. exception: XMLDBException - with expected error codes.
ErrorCodes.VENDOR_ERROR for any vendorspecific errors that occur.
ErrorCodes.NO_SUCH_RESOURCE if the resource iterator is empty or all resources have already been retrieved. |
|
|