Interface CSSParser.DeclarationRuleHandler

All Superinterfaces:
DocumentHandler
Enclosing class:
CSSParser

public static interface CSSParser.DeclarationRuleHandler extends DocumentHandler
Small extension to SAC's DocumentHandler 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.