|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractList
java.util.Vector
gov.noaa.eds.xapi.generic.GenericResourceSet
A basic Set of resources.
| Nested Class Summary |
| Nested classes inherited from class java.util.AbstractList |
|
| Field Summary |
| Fields inherited from class java.util.Vector |
capacityIncrement, elementCount, elementData |
| Fields inherited from class java.util.AbstractList |
modCount |
| Constructor Summary | |
GenericResourceSet()
Creates a new instance of GenericResourceSet |
|
| Method Summary | |
void |
addResource(org.xmldb.api.base.Resource resource)
Add a resource to this set |
org.xmldb.api.base.ResourceIterator |
getIterator()
Returns an iterator for this set of resources |
org.xmldb.api.base.Resource |
getMembersAsResource()
Not implemented |
org.xmldb.api.base.Resource |
getResource(long index)
Returns the resource at the specified index. |
long |
getSize()
Returns the size of this set. |
void |
removeResource(long index)
Removes the resource at the specified index |
| Methods inherited from class java.util.Vector |
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize |
| Methods inherited from class java.util.AbstractList |
iterator, listIterator, listIterator |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.xmldb.api.base.ResourceSet |
clear |
| Methods inherited from interface java.util.List |
iterator, listIterator, listIterator |
| Constructor Detail |
public GenericResourceSet()
| Method Detail |
public void addResource(org.xmldb.api.base.Resource resource)
throws org.xmldb.api.base.XMLDBException
addResource in interface org.xmldb.api.base.ResourceSetresource - The resource to add
org.xmldb.api.base.XMLDBException
public void removeResource(long index)
throws org.xmldb.api.base.XMLDBException
removeResource in interface org.xmldb.api.base.ResourceSetindex - The index of the resource to remove.
org.xmldb.api.base.XMLDBException
public long getSize()
throws org.xmldb.api.base.XMLDBException
getSize in interface org.xmldb.api.base.ResourceSetorg.xmldb.api.base.XMLDBException
public org.xmldb.api.base.Resource getResource(long index)
throws org.xmldb.api.base.XMLDBException
getResource in interface org.xmldb.api.base.ResourceSetindex - The index of the resource to return
org.xmldb.api.base.XMLDBException
public org.xmldb.api.base.Resource getMembersAsResource()
throws org.xmldb.api.base.XMLDBException
getMembersAsResource in interface org.xmldb.api.base.ResourceSetorg.xmldb.api.base.XMLDBException
public org.xmldb.api.base.ResourceIterator getIterator()
throws org.xmldb.api.base.XMLDBException
getIterator in interface org.xmldb.api.base.ResourceSetorg.xmldb.api.base.XMLDBException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||