Class ElementMatcher

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

@Deprecated(since="2026-04-30") public class ElementMatcher extends Matcher
Deprecated.
This version of the Apache Tika library is deprecated. Use your own version of Apache Tika.
Final evaluation state of an XPath expression that targets an element. Matches the current element.
  • Field Details

    • INSTANCE

      public static final Matcher INSTANCE
      Deprecated.
  • Constructor Details

    • ElementMatcher

      public ElementMatcher()
      Deprecated.
  • Method Details

    • matchesElement

      public boolean matchesElement()
      Deprecated.
      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