- All Superinterfaces:
CSSRule
,ExtendedCSSRule
- All Known Implementing Classes:
NamespaceRule
Namespace rule. @see
The
CSSNamespaceRule
Interface.-
Field Summary
Fields inherited from interface org.w3c.dom.css.CSSRule
CHARSET_RULE, FONT_FACE_RULE, IMPORT_RULE, MEDIA_RULE, PAGE_RULE, STYLE_RULE, UNKNOWN_RULE
Fields inherited from interface io.sf.carte.doc.style.css.ExtendedCSSRule
COUNTER_STYLE_RULE, CUSTOM_MEDIA_RULE, DOCUMENT_RULE, FONT_FEATURE_VALUES_RULE, KEYFRAME_RULE, KEYFRAMES_RULE, MARGIN_RULE, NAMESPACE_RULE, REGION_STYLE_RULE, SUPPORTS_RULE, VIEWPORT_RULE
-
Method Summary
Methods inherited from interface org.w3c.dom.css.CSSRule
getCssText, getType, setCssText
Methods inherited from interface io.sf.carte.doc.style.css.ExtendedCSSRule
clone, getMinifiedCssText, getParentRule, getParentStyleSheet, writeCssText
-
Method Details
-
getNamespaceURI
String getNamespaceURI()Get the namespace URI defined by this rule.- Returns:
- the namespace URI.
-
getPrefix
String getPrefix()Get the prefix for the declared namespace.- Returns:
- the namespace prefix.
-
setPrefix
Set the prefix for the declared namespace.- Parameters:
prefix
- the prefix.
-