Top Description Fields Constructors Methods
org.dom4j.tree

public Class ElementNameIterator

extends FilterIterator<Node>
Class Inheritance
Imports
java.util.Iterator, org.dom4j.Element, .Node

Deprecated

THIS CLASS WILL BE REMOVED IN dom4j-1.6 !!

ElementNameIterator is a filtering Iteratorwhich filters out objects which do not implement the Elementinterface and are not of the correct element name.

Author
James Strachan
Version
$Revision: 1.11 $

Field Summary

Modifier and TypeField and Description
private String
Inherited from org.dom4j.tree.FilterIterator:
proxy

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected boolean

Returns:

true if the given element implements the Element interface
matches
(Node
DOCUMENT ME!
object
)

Implements abstract org.dom4j.tree.FilterIterator.matches.

DOCUMENT ME!
Inherited from org.dom4j.tree.FilterIterator:
findNexthasNextnextremove

Field Detail

nameback to summary
private String name

Constructor Detail

ElementNameIteratorback to summary
public ElementNameIterator(Iterator<Node> proxy, String name)

Method Detail

matchesback to summary
protected boolean matches(Node object)

Implements abstract org.dom4j.tree.FilterIterator.matches.

DOCUMENT ME!

Parameters
object:Node

DOCUMENT ME!

Returns:boolean

true if the given element implements the Element interface