|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceIterator
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. |
Method Detail |
---|
boolean hasMoreResources() throws XMLDBException
XMLDBException
- with expected error codes.ErrorCodes.VENDOR_ERROR
for any vendor
specific errors that occur.Resource nextResource() throws XMLDBException
Resource
instance in the iterator.
Resource
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |