Class RuleMatch


  • public class RuleMatch
    extends java.lang.Object
    Match data for a CSS rule.
    • Constructor Summary

      Constructors 
      Constructor Description
      RuleMatch​(CSSRule rule, java.util.List<java.lang.Integer> matchingSelectors)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.Integer> getMatchingSelectors()
      Matching selector indices in the rule's selectorList selectors (0-based).
      CSSRule getRule()
      CSS rule in the match.
      • Methods inherited from class java.lang.Object

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

      • RuleMatch

        public RuleMatch​(CSSRule rule,
                         java.util.List<java.lang.Integer> matchingSelectors)
    • Method Detail

      • getRule

        public CSSRule getRule()
        CSS rule in the match.
      • getMatchingSelectors

        public java.util.List<java.lang.Integer> getMatchingSelectors()
        Matching selector indices in the rule's selectorList selectors (0-based).