public class XPathTextMatcher extends AbstractXPathNodeMatcher
Text
.IXPathNodeMatcher.MatcherType
EMPTY_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. |
getOwnerMatcher
public XPathTextMatcher(XPathMatcher ownerMatcher)
public IXPathNodeMatcher.MatcherType getType()
IXPathNodeMatcher
public boolean match(Node testNode, Collection<String> wildcardValues)
IXPathNodeMatcher
Node
and fill wildcard values if node matcher define
widcard.testNode
- node to test.wildcardValues
- wildcard values if node matcher define widcard.public boolean isAny()
IXPathNodeMatcher
Copyright © 2021. All rights reserved.