Class XPathElementMatcher

    • Method Detail

      • match

        public boolean match​(Node testNode,
                             Collection<String> wildcardValues)
        Description copied from interface: IXPathNodeMatcher
        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:
      • getPrefix

        public String getPrefix()
        Returns the prefix.
        Returns:
      • getLocalName

        public String getLocalName()
        Returns the element name to match.
        Returns:
      • isAny

        public boolean isAny()
        Description copied from interface: IXPathNodeMatcher
        Returns true if matcher is any (Node is every time matched) and false otherwise.
        Returns:
      • add

        public void add​(XPathAttributeMatcher matcher)
        Add XPath attribute matcher.
        Parameters:
        matcher -