Class ChildMatcher

  • Direct Known Subclasses:
    NamedElementMatcher

    public class ChildMatcher
    extends Matcher
    Intermediate evaluation state of a .../*... XPath expression. Matches nothing, but specifies the evaluation state for all child elements.
    • Field Summary

      • Fields inherited from class org.apache.tika.sax.xpath.Matcher

        FAIL
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Matcher descend​(java.lang.String namespace, java.lang.String name)
      Returns the XPath evaluation state that results from descending to a child element with the given name.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ChildMatcher

        public ChildMatcher​(Matcher then)
    • Method Detail

      • descend

        public Matcher descend​(java.lang.String namespace,
                               java.lang.String name)
        Description copied from class: Matcher
        Returns the XPath evaluation state that results from descending to a child element with the given name.
        Overrides:
        descend in class Matcher
        Parameters:
        namespace - element namespace or null
        name - element name
        Returns:
        next XPath evaluation state