Class XPathAttributeNameMatcher

    • Constructor Detail

      • XPathAttributeNameMatcher

        public XPathAttributeNameMatcher​(String prefix,
                                         String localName,
                                         XPathMatcher matcher)
    • Method Detail

      • getPrefix

        public String getPrefix()
      • 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:
      • isAny

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