|
dbXML API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.dbxml.client.xmldb.ResourceIteratorImpl
| Constructor Summary | |
ResourceIteratorImpl(java.util.List 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. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ResourceIteratorImpl(java.util.List resources)
| Method Detail |
public boolean hasMoreResources()
throws XMLDBException
ResourceIteratorhasMoreResources in interface ResourceIteratororg.xmldb.api.base.ResourceIteratorXMLDBException - with expected error codes.ErrorCodes.VENDOR_ERROR for any vendor
specific errors that occur.
public Resource nextResource()
throws XMLDBException
ResourceIteratorResource instance in the iterator.nextResource in interface ResourceIteratororg.xmldb.api.base.ResourceIteratorResource instance in the iterator.XMLDBException - with expected error codes.ErrorCodes.VENDOR_ERROR for any vendor
specific errors that occur.ErrorCodes.NO_SUCH_RESOURCE if the resource iterator is
empty or all resources have already been retrieved.
|
dbXML API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||