Package org.apache.tika.sax.xpath
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.
-
-
Constructor Summary
Constructors Constructor Description ElementMatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
matchesElement()
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 Detail
-
INSTANCE
public static final Matcher INSTANCE
-
-
Method Detail
-
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
-
-