public class XPathAttributeNameMatcher extends AbstractXPathNodeMatcher
IXPathNodeMatcher.MatcherType| Modifier and Type | Field and Description |
|---|---|
static String |
ANY_ELEMENT_NAME |
EMPTY_NODE_MATCHER| Constructor and Description |
|---|
XPathAttributeNameMatcher(String prefix,
String localName,
XPathMatcher matcher) |
| Modifier and Type | Method and Description |
|---|---|
String |
getPrefix() |
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 static final String ANY_ELEMENT_NAME
public XPathAttributeNameMatcher(String prefix, String localName, XPathMatcher matcher)
public IXPathNodeMatcher.MatcherType getType()
IXPathNodeMatcherpublic String getPrefix()
public 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 © 2021. All rights reserved.