Module io.sf.carte.css4j
Package io.sf.carte.doc.style.css.parser
Interface CSSParser.DeclarationRuleHandler
- All Superinterfaces:
DocumentHandler
- Enclosing class:
- CSSParser
Small extension to SAC's
DocumentHandler
to deal with declaration rules.-
Method Summary
Modifier and TypeMethodDescriptionvoid
Marks the end of a declaration rule.void
startAtRule
(String ruleName, String modifier) Marks the start of a declaration rule.Methods inherited from interface org.w3c.css.sac.DocumentHandler
comment, endDocument, endFontFace, endMedia, endPage, endSelector, ignorableAtRule, importStyle, namespaceDeclaration, property, startDocument, startFontFace, startMedia, startPage, startSelector
-
Method Details
-
startAtRule
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), ornull
if no modifier was found.
-
endAtRule
void endAtRule()Marks the end of a declaration rule.
-