Package org.dom4j.tree
Class FilterIterator<T>
java.lang.Object
org.dom4j.tree.FilterIterator<T>
- All Implemented Interfaces:
Iterator<T>
- Direct Known Subclasses:
ElementIterator
,ElementNameIterator
,ElementQNameIterator
Deprecated.
THIS CLASS WILL BE REMOVED IN dom4j-1.6 !!
FilterIterator
is an abstract base class which is useful for
implementors of Iterator
which filter an existing iterator.
- Version:
- $Revision: 1.10 $
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected T
findNext()
Deprecated.boolean
hasNext()
Deprecated.protected abstract boolean
Deprecated.Filter method to perform some matching on the given element.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
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
proxy
Deprecated. -
next
Deprecated. -
first
private boolean firstDeprecated.
-
-
Constructor Details
-
FilterIterator
Deprecated.
-
-
Method Details
-
hasNext
public boolean hasNext()Deprecated. -
next
Deprecated.- Specified by:
next
in interfaceIterator<T>
- Throws:
NoSuchElementException
-
remove
public void remove()Deprecated.Always throws UnsupportedOperationException as this class does look-ahead with its internal iterator.- Specified by:
remove
in interfaceIterator<T>
- Throws:
UnsupportedOperationException
- always
-
matches
Deprecated.Filter method to perform some matching on the given element.- Parameters:
element
- DOCUMENT ME!- Returns:
- true if the given element matches the filter and should be appear in the iteration
-
findNext
Deprecated.
-