Class ElementNameIterator

  • All Implemented Interfaces:
    java.util.Iterator<Node>

    public class ElementNameIterator
    extends FilterIterator<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.

    Version:
    $Revision: 1.11 $
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String name
      Deprecated.
       
    • Constructor Summary

      Constructors 
      Constructor Description
      ElementNameIterator​(java.util.Iterator<Node> proxy, java.lang.String name)
      Deprecated.
       
    • Field Detail

      • name

        private java.lang.String name
        Deprecated.
    • Constructor Detail

      • ElementNameIterator

        public ElementNameIterator​(java.util.Iterator<Node> proxy,
                                   java.lang.String name)
        Deprecated.
    • Method Detail

      • matches

        protected boolean matches​(Node object)
        Deprecated.
        DOCUMENT ME!
        Specified by:
        matches in class FilterIterator<Node>
        Parameters:
        object - DOCUMENT ME!
        Returns:
        true if the given element implements the Element interface