|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dom4j.tree.FilterIterator
FilterIterator
is an abstract base class which is useful for
implementors of Iterator
which filter an existing iterator.
Field Summary | |
protected Iterator |
proxy
Deprecated. |
Constructor Summary | |
FilterIterator(Iterator proxy)
Deprecated. |
Method Summary | |
protected Object |
findNext()
Deprecated. |
boolean |
hasNext()
Deprecated. |
protected abstract boolean |
matches(Object element)
Deprecated. Filter method to perform some matching on the given element. |
Object |
next()
Deprecated. |
void |
remove()
Deprecated. Always throws UnsupportedOperationException as this class does look-ahead with its internal iterator. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Iterator proxy
Constructor Detail |
public FilterIterator(Iterator proxy)
Method Detail |
public boolean hasNext()
hasNext
in interface Iterator
public Object next() throws NoSuchElementException
next
in interface Iterator
NoSuchElementException
public void remove()
remove
in interface Iterator
UnsupportedOperationException
- alwaysprotected abstract boolean matches(Object element)
element
- DOCUMENT ME!
protected Object findNext()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |