public class NamedAttributeMatcher extends Matcher
.../@name XPath expression.
 Matches the named attributes of the current element.| Constructor and Description | 
|---|
| NamedAttributeMatcher(String namespace,
                     String name) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | matchesAttribute(String namespace,
                String name)Returns  trueif the XPath expression matches the named
 attribute of the element associated with this evaluation state. | 
descend, matchesElement, matchesTextpublic boolean matchesAttribute(String namespace, String name)
Matchertrue if the XPath expression matches the named
 attribute of the element associated with this evaluation state.matchesAttribute in class Matchernamespace - attribute namespace or nullname - attribute nameCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.