Interface IXPathNodeMatcher
- All Known Implementing Classes:
AbstractXPathNodeMatcher,XPathAttributeMatcher,XPathAttributeNameMatcher,XPathElementMatcher,XPathTextMatcher
public interface IXPathNodeMatcher
XPath node matcher tests if
Node match a fragment of XPath.-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns the owner matcher.getType()Returns matcher type.booleanisAny()Returns true if matcher is any (Node is every time matched) and false otherwise.booleanmatch(Node testNode, Collection<String> wildcardValues) Match theNodeand fill wildcard values if node matcher define widcard.
-
Field Details
-
EMPTY_NODE_MATCHER
-
-
Method Details
-
getOwnerMatcher
XPathMatcher getOwnerMatcher()Returns the owner matcher.- Returns:
-
getType
IXPathNodeMatcher.MatcherType getType()Returns matcher type.- Returns:
-
match
Match theNodeand fill wildcard values if node matcher define widcard.- Parameters:
testNode- node to test.wildcardValues- wildcard values if node matcher define widcard.- Returns:
-
isAny
boolean isAny()Returns true if matcher is any (Node is every time matched) and false otherwise.- Returns:
-