org.dom4j.tree
Class ElementQNameIterator
java.lang.Object
|
+--org.dom4j.tree.FilterIterator
|
+--org.dom4j.tree.ElementQNameIterator
- All Implemented Interfaces:
- Iterator
- public class ElementQNameIterator
- extends FilterIterator
ElementQNameIterator is a filtering Iterator which
filters out objects which do not implement the Element
interface and are not of the correct fully qualified element name.
- Version:
- $Revision: 1.2 $
- Author:
- James Strachan
|
Method Summary |
protected boolean |
matches(Object object)
Filter method to perform some matching on the given element. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ElementQNameIterator
public ElementQNameIterator(Iterator proxy,
QName qName)
matches
protected boolean matches(Object object)
- Description copied from class:
FilterIterator
- Filter method to perform some matching on the given element.
- Specified by:
matches in class FilterIterator
- Returns:
- true if the given element implements the
Element
interface and matches the given QName
Copyright © 2002-2003 MetaStuff Ltd.. All Rights Reserved.