Class ElementMatcher


  • public class ElementMatcher
    extends Matcher
    Final evaluation state of an XPath expression that targets an element. Matches the current element.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static Matcher INSTANCE  
      • Fields inherited from class org.apache.tika.sax.xpath.Matcher

        FAIL
    • Constructor Summary

      Constructors 
      Constructor Description
      ElementMatcher()  
    • Field Detail

      • INSTANCE

        public static final Matcher INSTANCE
    • Constructor Detail

      • ElementMatcher

        public ElementMatcher()
    • Method Detail

      • matchesElement

        public boolean matchesElement()
        Description copied from class: Matcher
        Returns true if the XPath expression matches the element associated with this evaluation state.
        Overrides:
        matchesElement in class Matcher
        Returns:
        XPath evaluation state for this element