|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MetadataObjectIterator
The iterator used to iterate through the children of a MetadataObject
.
Implementors can use this interface to optimize the retrieval of large
volumes of metadata objects. The iterator can choose to buffer a subset of
the results, and only connect to the EIS to retrieve further children when
required.
Method Summary | |
---|---|
MetadataObject |
nextMetaDataObject()
Returns the next MetaDataObject available |
void |
remove()
MetadataObjectIterator extends Iterator and thus inherits the
Iterator.remove() method. |
int |
size()
Returns the total amount of metadata objects represented by the iterator. |
Methods inherited from interface java.util.Iterator |
---|
hasNext, next |
Method Detail |
---|
MetadataObject nextMetaDataObject() throws NoSuchElementException
NoSuchElementException
- iteration has no more MetaDataObject.Iterator.next()
int size()
void remove()
Iterator
and thus inherits the
Iterator.remove()
method. However tool environments must not be
allowed to remove MetadataObjects from in the existing
MetadataTree
. Hence, this method must always throw an
UnsupportedOperationException
if it is called.
remove
in interface Iterator
UnsupportedOperationException
- is always thrown if the remove is called.Iterator.remove()
,
MetadataTree
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |