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