org.xmldb.api.reference
Class ResourceIteratorImpl
java.lang.Object
|
+--org.xmldb.api.reference.ResourceIteratorImpl
- All Implemented Interfaces:
- ResourceIterator
- public class ResourceIteratorImpl
- extends java.lang.Object
- implements 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. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceIteratorImpl
public ResourceIteratorImpl(Collection col,
org.w3c.dom.NodeList nodes)
hasMoreResources
public boolean hasMoreResources()
throws XMLDBException
- Returns true as long as there are still more resources to be iterated.
- Specified by:
hasMoreResources
in interface ResourceIterator
- Returns:
- true if there are more resources to iterate, false otherwise.
nextResource
public Resource nextResource()
throws XMLDBException
- Returns the next
Resource
instance in the iterator.
- Specified by:
nextResource
in interface ResourceIterator
- Returns:
- the next
Resource
instance in the iterator.
Copyright (c) 1999-2001 The dbXML Group, All rights reserved