Class ElementNameIterator

  • All Implemented Interfaces:
    java.util.Iterator

    public class ElementNameIterator
    extends FilterIterator
    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 $
    Author:
    James Strachan
    • Constructor Summary

      Constructors 
      Constructor Description
      ElementNameIterator​(java.util.Iterator proxy, java.lang.String name)
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      protected boolean matches​(java.lang.Object object)
      Deprecated.
      DOCUMENT ME!
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Iterator

        forEachRemaining
    • 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.
        DOCUMENT ME!
        Specified by:
        matches in class FilterIterator
        Parameters:
        object - DOCUMENT ME!
        Returns:
        true if the given element implements the Element interface