Class MapCSSRuleIndex.MapCSSKeyRules

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.util.BitSet generalRules
      The indexes of rules that might be applied if this tag is present and the value has no special handling.
      (package private) java.util.Map<java.lang.String,​java.util.BitSet> specialRules
      A map that stores the indexes of rules that might be applied if the key=value pair is present on this primitive.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private MapCSSKeyRules()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addForKey​(int ruleIndex)  
      void addForKeyAndValue​(java.lang.String value, int ruleIndex)  
      java.util.BitSet get​(java.lang.String value)  
      • Methods inherited from class java.lang.Object

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

      • generalRules

        java.util.BitSet generalRules
        The indexes of rules that might be applied if this tag is present and the value has no special handling.
      • specialRules

        java.util.Map<java.lang.String,​java.util.BitSet> specialRules
        A map that stores the indexes of rules that might be applied if the key=value pair is present on this primitive. This includes all key=* rules.
    • Method Detail

      • addForKey

        public void addForKey​(int ruleIndex)
      • addForKeyAndValue

        public void addForKeyAndValue​(java.lang.String value,
                                      int ruleIndex)
      • get

        public java.util.BitSet get​(java.lang.String value)