public class TextMatcher extends Matcher
.../text() XPath expression.
Matches all text children of the current element.| Constructor and Description |
|---|
TextMatcher() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matchesText()
Returns
true if the XPath expression matches all text
nodes whose parent is the element associated with this evaluation
state. |
descend, matchesAttribute, matchesElementpublic static final Matcher INSTANCE
public boolean matchesText()
Matchertrue if the XPath expression matches all text
nodes whose parent is the element associated with this evaluation
state.matchesText in class MatcherCopyright © 2010 - 2023 Adobe. All Rights Reserved