Package io.sf.carte.doc.style.css.parser
Interface CSSParser.DeclarationRuleHandler
- All Superinterfaces:
CSSHandler
- Enclosing class:
- CSSParser
Small extension to
CSSHandler to deal with declaration rules.-
Method Summary
Modifier and TypeMethodDescriptionvoidMarks the end of a declaration rule.voidstartAtRule(String ruleName, String modifier) Marks the start of a declaration rule.Methods inherited from interface io.sf.carte.doc.style.css.nsac.CSSHandler
comment, endCounterStyle, endFeatureMap, endFontFace, endFontFeatures, endKeyframe, endKeyframes, endMargin, endMedia, endOfStream, endPage, endProperty, endSelector, endSupports, endViewport, ignorableAtRule, importStyle, lexicalProperty, namespaceDeclaration, parseStart, property, startCounterStyle, startFeatureMap, startFontFace, startFontFeatures, startKeyframe, startKeyframes, startMargin, startMedia, startPage, startProperty, startSelector, startSupports, startViewport
-
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), ornullif no modifier was found.
-
endAtRule
void endAtRule()Marks the end of a declaration rule.
-