public class NamedElementMatcher extends ChildMatcher
.../name...
XPath
expression. Matches nothing, but specifies the evaluation state
for the child elements with the given name.Modifier | Constructor and Description |
---|---|
protected |
NamedElementMatcher(String namespace,
String name,
Matcher then) |
Modifier and Type | Method and Description |
---|---|
Matcher |
descend(String namespace,
String name)
Returns the XPath evaluation state that results from descending
to a child element with the given name.
|
matchesAttribute, matchesElement, matchesText
public Matcher descend(String namespace, String name)
Matcher
descend
in class ChildMatcher
namespace
- element namespace or null
name
- element nameCopyright © 2007–2022 The Apache Software Foundation. All rights reserved.