Class XPathTextMatcher

java.lang.Object
org.eclipse.lemminx.xpath.matcher.AbstractXPathNodeMatcher
org.eclipse.lemminx.xpath.matcher.XPathTextMatcher
All Implemented Interfaces:
IXPathNodeMatcher

public class XPathTextMatcher extends AbstractXPathNodeMatcher
XPath text matcher matches Text.
  • Constructor Details

    • XPathTextMatcher

      public XPathTextMatcher(XPathMatcher ownerMatcher)
  • Method Details

    • getType

      Description copied from interface: IXPathNodeMatcher
      Returns matcher type.
      Returns:
    • 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: