public class XPathTextMatcher extends AbstractXPathNodeMatcher
Text.IXPathNodeMatcher.MatcherTypeEMPTY_NODE_MATCHER| Constructor and Description |
|---|
XPathTextMatcher(XPathMatcher ownerMatcher) |
| Modifier and Type | Method and Description |
|---|---|
IXPathNodeMatcher.MatcherType |
getType()
Returns matcher type.
|
boolean |
isAny()
Returns true if matcher is any (Node is every time matched) and false
otherwise.
|
boolean |
match(Node testNode,
Collection<String> wildcardValues)
Match the
Node and fill wildcard values if node matcher define
widcard. |
getOwnerMatcherpublic XPathTextMatcher(XPathMatcher ownerMatcher)
public IXPathNodeMatcher.MatcherType getType()
IXPathNodeMatcherpublic boolean match(Node testNode, Collection<String> wildcardValues)
IXPathNodeMatcherNode and fill wildcard values if node matcher define
widcard.testNode - node to test.wildcardValues - wildcard values if node matcher define widcard.public boolean isAny()
IXPathNodeMatcherCopyright © 2023. All rights reserved.