uk.org.ogsadai.client.toolkit.activity.xmldb
Class ResourceIteratorImpl

java.lang.Object
  |
  +--uk.org.ogsadai.client.toolkit.activity.xmldb.ResourceIteratorImpl
All Implemented Interfaces:
org.xmldb.api.base.ResourceIterator

public class ResourceIteratorImpl
extends java.lang.Object
implements org.xmldb.api.base.ResourceIterator

A simple implementation of the org.xmldb.api.base.ResourceInterator interface.

Author:
The OGSA-DAI Project Team

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
 

Constructor Detail

ResourceIteratorImpl

public ResourceIteratorImpl(java.util.List resources)
Constructs a ResourceIterator that iterates over the resources contained in the specified list.

Parameters:
resources - a List of Resource objects.
Method Detail

hasMoreResources

public boolean hasMoreResources()
                         throws org.xmldb.api.base.XMLDBException
Specified by:
hasMoreResources in interface org.xmldb.api.base.ResourceIterator
org.xmldb.api.base.XMLDBException

nextResource

public org.xmldb.api.base.Resource nextResource()
                                         throws org.xmldb.api.base.XMLDBException
Specified by:
nextResource in interface org.xmldb.api.base.ResourceIterator
org.xmldb.api.base.XMLDBException