public class NamedAttributeMatcher extends Matcher
.../@name
XPath expression.
Matches the named attributes of the current element.Constructor and Description |
---|
NamedAttributeMatcher(java.lang.String namespace,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
matchesAttribute(java.lang.String namespace,
java.lang.String name)
Returns
true if the XPath expression matches the named
attribute of the element associated with this evaluation state. |
descend, matchesElement, matchesText
public NamedAttributeMatcher(java.lang.String namespace, java.lang.String name)
public boolean matchesAttribute(java.lang.String namespace, java.lang.String name)
Matcher
true
if the XPath expression matches the named
attribute of the element associated with this evaluation state.matchesAttribute
in class Matcher
namespace
- attribute namespace or null
name
- attribute nameCopyright © 2010 - 2020 Adobe. All Rights Reserved