Interface IXPathNodeMatcher

All Known Implementing Classes:
AbstractXPathNodeMatcher, XPathAttributeMatcher, XPathAttributeNameMatcher, XPathElementMatcher, XPathTextMatcher

public interface IXPathNodeMatcher
XPath node matcher tests if Node match a fragment of XPath.
  • Field Details

  • Method Details

    • getOwnerMatcher

      XPathMatcher getOwnerMatcher()
      Returns the owner matcher.
      Returns:
    • getType

      Returns matcher type.
      Returns:
    • match

      boolean match(Node testNode, Collection<String> wildcardValues)
      Match the Node and fill wildcard values if node matcher define widcard.
      Parameters:
      testNode - node to test.
      wildcardValues - wildcard values if node matcher define widcard.
      Returns:
    • isAny

      boolean isAny()
      Returns true if matcher is any (Node is every time matched) and false otherwise.
      Returns: