Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jdom
Class FilterIterator

    java.lang.Object
      org.jdom.FilterIterator

All Implemented Interfaces:
  java.util.Iterator

     class FilterIterator

extends java.lang.Object
implements java.util.Iterator

Traverse a parent's children that match the supplied filter.

Field Summary
`private static java.lang.String` | `CVS_ID`
`private Filter` | `filter`
`private java.util.Iterator` | `iterator`
`private java.lang.Object` | `nextObject`

Constructor Summary
`FilterIterator(java.util.Iterator iterator, Filter filter)`

Method Summary
`boolean` | `hasNext()`
`java.lang.Object` | `next()`
`void` | `remove()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### iterator

    private java.util.Iterator iterator

### filter

    private Filter filter

### nextObject

    private java.lang.Object nextObject

### CVS_ID

    private static final java.lang.String CVS_ID

See Also:
  Constant Field Values

Constructor Detail

### FilterIterator

    public FilterIterator(java.util.Iterator iterator,
                          Filter filter)

Method Detail

### hasNext

    public boolean hasNext()

  Specified by:
    `hasNext` in interface `java.util.Iterator`

### next

    public java.lang.Object next()

  Specified by:
    `next` in interface `java.util.Iterator`

### remove

    public void remove()

  Specified by:
    `remove` in interface `java.util.Iterator`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD