Class OMQNameFilterIterator

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

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 Details

    • OMQNameFilterIterator

      public OMQNameFilterIterator(Iterator parent, QName qname)
  • Method Details

    • 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()