Class FilterIterator<T>
java.lang.Object
org.dom4j.tree.FilterIterator<T>
- All Implemented Interfaces:
Iterator<T>
- Direct Known Subclasses:
ElementIterator, ElementNameIterator, ElementQNameIterator
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TfindNext()Deprecated.booleanhasNext()Deprecated.protected abstract booleanDeprecated.Filter method to perform some matching on the given element.next()Deprecated.voidremove()Deprecated.Always throws UnsupportedOperationException as this class does look-ahead with its internal iterator.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining
-
Field Details
-
proxy
-
next
Deprecated. -
first
private boolean firstDeprecated.
-
-
Constructor Details
-
FilterIterator
-
-
Method Details
-
hasNext
-
next
Deprecated.- Specified by:
nextin interfaceIterator<T>- Throws:
NoSuchElementException
-
remove
public void remove()Deprecated.Always throws UnsupportedOperationException as this class does look-ahead with its internal iterator.- Specified by:
removein 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.
-