org.xmldb.api.sdk
public class SimpleResourceIterator extends Object implements ResourceIterator
| Field Summary | |
|---|---|
| protected int | index |
| protected List | resources |
| Constructor Summary | |
|---|---|
| SimpleResourceIterator(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.
|
Returns: true if there are more resources to iterate, false otherwise.
Resource instance in the iterator.
Returns: the next Resource instance in the iterator.