org.apache.axiom.om.impl.traverse
Class OMQualifiedNameFilterIterator

java.lang.Object
  extended by org.apache.axiom.om.impl.traverse.OMFilterIterator
      extended by org.apache.axiom.om.impl.traverse.OMQualifiedNameFilterIterator
All Implemented Interfaces:
Iterator

public class OMQualifiedNameFilterIterator
extends OMFilterIterator

Iterator that selects elements based on prefix and local name. Note that namespace URIs are not taken into account by the filter.


Constructor Summary
OMQualifiedNameFilterIterator(Iterator parent, String qualifiedName)
           
 
Method Summary
protected  boolean matches(OMNode node)
          Determine whether the given node matches the filter criteria.
 
Methods inherited from class org.apache.axiom.om.impl.traverse.OMFilterIterator
hasNext, next, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OMQualifiedNameFilterIterator

public OMQualifiedNameFilterIterator(Iterator parent,
                                     String qualifiedName)
Method Detail

matches

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
Parameters:
node - the node to test
Returns:
true if the node matches, i.e. if it should be returned by a call to OMFilterIterator.next()


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