Package org.apache.tika.sax.xpath
Class ElementMatcher
java.lang.Object
org.apache.tika.sax.xpath.Matcher
org.apache.tika.sax.xpath.ElementMatcher
Final evaluation state of an XPath expression that targets an element.
Matches the current element.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returnstrue
if the XPath expression matches the element associated with this evaluation state.Methods inherited from class org.apache.tika.sax.xpath.Matcher
descend, matchesAttribute, matchesText
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ElementMatcher
public ElementMatcher()
-
-
Method Details
-
matchesElement
public boolean matchesElement()Description copied from class:Matcher
Returnstrue
if the XPath expression matches the element associated with this evaluation state.- Overrides:
matchesElement
in classMatcher
- Returns:
- XPath evaluation state for this element
-