Class NamedElementMatcher


  • public class NamedElementMatcher
    extends ChildMatcher
    Intermediate evaluation state of a .../name... XPath expression. Matches nothing, but specifies the evaluation state for the child elements with the given name.
    • Constructor Detail

      • NamedElementMatcher

        protected NamedElementMatcher​(String namespace,
                                      String name,
                                      Matcher then)
    • Method Detail

      • descend

        public Matcher descend​(String namespace,
                               String name)
        Description copied from class: Matcher
        Returns the XPath evaluation state that results from descending to a child element with the given name.
        Overrides:
        descend in class ChildMatcher
        Parameters:
        namespace - element namespace or null
        name - element name
        Returns:
        next XPath evaluation state