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, matchesElement
public static final Matcher INSTANCE
public boolean matchesText()
Matcher
true
if the XPath expression matches all text
nodes whose parent is the element associated with this evaluation
state.matchesText
in class Matcher
Copyright © 2007-2015 The Apache Software Foundation. All Rights Reserved.