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, matchesTextpublic Matcher descend(String namespace, String name)
Matcherdescend in class ChildMatchernamespace - element namespace or nullname - element nameCopyright © 2007–2022 The Apache Software Foundation. All rights reserved.