Class OMQNameFilterIterator

  extended by
      extended by
All Implemented Interfaces:

public class OMQNameFilterIterator
extends OMFilterIterator

Iterator that selects elements based on QName equality, i.e. namespace URI and local name. Namespace prefixes are not taken into account by the filter.

Constructor Summary
OMQNameFilterIterator(Iterator parent, QName qname)
Method Summary
protected  boolean matches(OMNode node)
          Determine whether the given node matches the filter criteria.
Methods inherited from class
hasNext, next, remove
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public OMQNameFilterIterator(Iterator parent,
                             QName qname)
Method Detail


protected boolean matches(OMNode node)
Description copied from class: OMFilterIterator
Determine whether the given node matches the filter criteria.

Specified by:
matches in class OMFilterIterator
node - the node to test
true if the node matches, i.e. if it should be returned by a call to

Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.