org.dom4j.tree
Class ElementNameIterator

java.lang.Object
  extended byorg.dom4j.tree.FilterIterator
      extended byorg.dom4j.tree.ElementNameIterator
All Implemented Interfaces:
java.util.Iterator

Deprecated. THIS CLASS WILL BE REMOVED IN dom4j-1.6 !!

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.9 $
Author:
James Strachan

Field Summary
 
Fields inherited from class org.dom4j.tree.FilterIterator
proxy
 
Constructor Summary
ElementNameIterator(java.util.Iterator proxy, java.lang.String name)
          Deprecated.  
 
Method Summary
protected  boolean matches(java.lang.Object object)
          Deprecated. Filter method to perform some matching on the given element.
 
Methods inherited from class org.dom4j.tree.FilterIterator
findNext, hasNext, next, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElementNameIterator

public ElementNameIterator(java.util.Iterator proxy,
                           java.lang.String name)
Deprecated. 
Method Detail

matches

protected boolean matches(java.lang.Object object)
Deprecated. 
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 © 2004 MetaStuff Ltd. All Rights Reserved. Hosted by

SourceForge Logo