public interface IXPathNodeMatcher
Node match a fragment of XPath.| Modifier and Type | Interface and Description |
|---|---|
static class |
IXPathNodeMatcher.MatcherType |
| Modifier and Type | Field and Description |
|---|---|
static IXPathNodeMatcher[] |
EMPTY_NODE_MATCHER |
| Modifier and Type | Method and Description |
|---|---|
XPathMatcher |
getOwnerMatcher()
Returns the owner matcher.
|
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. |
static final IXPathNodeMatcher[] EMPTY_NODE_MATCHER
XPathMatcher getOwnerMatcher()
IXPathNodeMatcher.MatcherType getType()
boolean match(Node testNode, Collection<String> wildcardValues)
Node and fill wildcard values if node matcher define
widcard.testNode - node to test.wildcardValues - wildcard values if node matcher define widcard.boolean isAny()
Copyright © 2021. All rights reserved.