|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--uk.org.ogsadai.client.toolkit.activity.xmldb.ResourceIteratorImpl
A simple implementation of the
org.xmldb.api.base.ResourceInterator interface.
| Field Summary | |
private static java.lang.String |
COPYRIGHT_NOTICE
Copyright statement |
private int |
mIndex
Index of the current resource |
private java.util.List |
mResources
The resources to iterate over |
| Constructor Summary | |
ResourceIteratorImpl(java.util.List resources)
Constructs a ResourceIterator that iterates over
the resources contained in the specified list. |
|
| Method Summary | |
boolean |
hasMoreResources()
|
org.xmldb.api.base.Resource |
nextResource()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private static final java.lang.String COPYRIGHT_NOTICE
private final java.util.List mResources
private int mIndex
| Constructor Detail |
public ResourceIteratorImpl(java.util.List resources)
ResourceIterator that iterates over
the resources contained in the specified list.
resources - A List of Resource objects.
java.lang.IllegalArgumentException - If resources is null.| Method Detail |
public boolean hasMoreResources()
throws org.xmldb.api.base.XMLDBException
hasMoreResources in interface org.xmldb.api.base.ResourceIteratororg.xmldb.api.base.XMLDBException
public org.xmldb.api.base.Resource nextResource()
throws org.xmldb.api.base.XMLDBException
nextResource in interface org.xmldb.api.base.ResourceIteratororg.xmldb.api.base.XMLDBException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||