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 Details

    • NamedElementMatcher

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

    • 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.
      descend in class ChildMatcher
      namespace - element namespace or null
      name - element name
      next XPath evaluation state