Class NodeMatcher


  • public class NodeMatcher
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected Node rootNode  
    • Constructor Summary

      Constructors 
      Constructor Description
      NodeMatcher​(Node rootNode)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean match​(java.lang.String query)  
      boolean match​(java.util.Collection<java.util.List<CssSelector>> selectorsCollection)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • rootNode

        protected final Node rootNode
    • Constructor Detail

      • NodeMatcher

        public NodeMatcher​(Node rootNode)
    • Method Detail

      • match

        public boolean match​(java.lang.String query)
      • match

        public boolean match​(java.util.Collection<java.util.List<CssSelector>> selectorsCollection)