org.dom4j.tree
Class ElementNameIterator
java.lang.Object
|
+--org.dom4j.tree.FilterIterator
|
+--org.dom4j.tree.ElementNameIterator
- All Implemented Interfaces:
- Iterator
- public class ElementNameIterator
- extends FilterIterator
ElementNameIterator is a filtering Iterator which
filters out objects which do not implement the Element
interface and are not of the correct element name.
- Version:
- $Revision: 1.6 $
- 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 |
ElementNameIterator
public ElementNameIterator(Iterator proxy,
String name)
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
Copyright © 2002-2003 MetaStuff Ltd.. All Rights Reserved.