Package io.sf.carte.doc.style.css
Interface CSSDeclarationRule
- All Superinterfaces:
CSSRule
,org.w3c.dom.css.CSSRule
- All Known Subinterfaces:
CSSFontFaceRule
,CSSKeyframeRule
,CSSMarginRule
,CSSPageRule
,CSSStyleRule
- All Known Implementing Classes:
BaseCSSDeclarationRule
,CounterStyleRule
,CSSStyleDeclarationRule
,FontFaceRule
,KeyframeRule
,MarginRule
,PageRule
,PropertyRule
,StyleRule
,ViewportRule
A CSS rule that contains style declarations (of properties and/or descriptors).
-
Field Summary
Fields inherited from interface io.sf.carte.doc.style.css.CSSRule
COUNTER_STYLE_RULE, CUSTOM_MEDIA_RULE, DOCUMENT_RULE, FONT_FACE_RULE, FONT_FEATURE_VALUES_RULE, IMPORT_RULE, KEYFRAME_RULE, KEYFRAMES_RULE, MARGIN_RULE, MEDIA_RULE, NAMESPACE_RULE, PAGE_RULE, PROPERTY_RULE, REGION_STYLE_RULE, STYLE_RULE, SUPPORTS_RULE, UNKNOWN_RULE, VIEWPORT_RULE
Fields inherited from interface org.w3c.dom.css.CSSRule
CHARSET_RULE
-
Method Summary
Modifier and TypeMethodDescriptiongetStyle()
Get the style that is declared by this rule.Gets the error handler.Methods inherited from interface io.sf.carte.doc.style.css.CSSRule
getMinifiedCssText, getParentRule, getParentStyleSheet, getPrecedingComments, getTrailingComments, writeCssText
Methods inherited from interface org.w3c.dom.css.CSSRule
getCssText, getType, setCssText
-
Method Details
-
getStyle
CSSStyleDeclaration getStyle()Get the style that is declared by this rule.- Returns:
- the style declaration.
-
getStyleDeclarationErrorHandler
StyleDeclarationErrorHandler getStyleDeclarationErrorHandler()Gets the error handler.- Returns:
- the error handler.
-