- All Superinterfaces:
CSSImportRule
,CSSRule
,CSSRule
- All Known Implementing Classes:
ImportRule
Import rule. @see
The
CSSImportRule
Interface.-
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, NESTED_DECLARATIONS, 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, FONT_FACE_RULE, IMPORT_RULE, MEDIA_RULE, PAGE_RULE, STYLE_RULE, UNKNOWN_RULE
-
Method Summary
Modifier and TypeMethodDescriptionThe layer name declared in the at-rule itself, or an empty string if the layer is anonymous, ornull
if the at-rule does not declare a layer.The<supports-condition>
declared in the at-rule, ornull
if the at-rule does not declare a supports condition.Methods inherited from interface org.w3c.dom.css.CSSImportRule
getHref, getMedia, getStyleSheet
Methods inherited from interface io.sf.carte.doc.style.css.CSSRule
getMinifiedCssText, getParentRule, getParentStyleSheet, getPrecedingComments, getTrailingComments, setCssText, writeCssText
Methods inherited from interface org.w3c.dom.css.CSSRule
getCssText, getType
-
Method Details
-
getLayerName
String getLayerName()The layer name declared in the at-rule itself, or an empty string if the layer is anonymous, ornull
if the at-rule does not declare a layer.- Returns:
- the layer name.
-
getSupportsCondition
BooleanCondition getSupportsCondition()The<supports-condition>
declared in the at-rule, ornull
if the at-rule does not declare a supports condition.- Returns:
- the supports condition.
-