Class ElementMatcher

java.lang.Object
org.apache.tika.sax.xpath.Matcher
org.apache.tika.sax.xpath.ElementMatcher

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

    • INSTANCE

      public static final Matcher INSTANCE
  • Constructor Details

    • ElementMatcher

      public ElementMatcher()
  • Method Details

    • 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