Interface CSSParser.DeclarationRuleHandler

All Superinterfaces:
CSSHandler
Enclosing class:
CSSParser

public static interface CSSParser.DeclarationRuleHandler extends CSSHandler
Small extension to CSSHandler to deal with declaration rules.
  • Method Details

    • startAtRule

      void startAtRule(String ruleName, String modifier)
      Marks the start of a declaration rule.
      Parameters:
      ruleName - the name of the rule.
      modifier - the modifier string (the contents of whatever is after the rule name and before the style declaration), or null if no modifier was found.
    • endAtRule

      void endAtRule()
      Marks the end of a declaration rule.