Package io.sf.carte.doc.style.css.om
Class DOMCSSStyleSheet
java.lang.Object
io.sf.carte.doc.style.css.om.AbstractStyleSheet
io.sf.carte.doc.style.css.om.AbstractCSSStyleSheet
io.sf.carte.doc.style.css.om.BaseCSSStyleSheet
io.sf.carte.doc.style.css.om.DOMCSSStyleSheet
- All Implemented Interfaces:
CSSStyleSheet<AbstractCSSRule>
,Serializable
,Cloneable
,org.w3c.dom.css.CSSStyleSheet
,org.w3c.dom.stylesheets.StyleSheet
CSS Style Sheet for DOM.
- See Also:
-
Field Summary
Fields inherited from interface io.sf.carte.doc.style.css.CSSStyleSheet
COMMENTS_AUTO, COMMENTS_IGNORE, COMMENTS_PRECEDING
-
Constructor Summary
ConstructorDescriptionDOMCSSStyleSheet
(String title, Node ownerNode, MediaQueryList media, AbstractCSSRule ownerRule, byte origin) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this style sheet.protected abstract DOMCSSStyleSheet
createCSSStyleSheet
(String title, Node ownerNode, MediaQueryList media, AbstractCSSRule ownerRule, byte origin) getHref()
Methods inherited from class io.sf.carte.doc.style.css.om.BaseCSSStyleSheet
acceptDeclarationRuleVisitor, acceptDescriptorRuleVisitor, acceptStyleRuleVisitor, addLocalRule, addRule, addStyleSheet, copyAllTo, copyFieldsTo, copyRulesTo, createCounterStyleRule, createFontFaceRule, createFontFeatureValuesRule, createImportRule, createKeyframesRule, createMarginRule, createMediaRule, createNamespaceRule, createPageRule, createPropertyRule, createStyleDeclaration, createStyleDeclaration, createStyleRule, createSupportsRule, createUnknownRule, createViewportRule, deleteRule, getCssRules, getDisabled, getDocumentErrorHandler, getErrorHandler, getFirstStyleRule, getMedia, getNamespacePrefix, getOrigin, getOwnerRule, getParentStyleSheet, getRulesForProperty, getSelectorsForProperty, getSelectorsForPropertyValue, getStyleRules, getStyleSheetFactory, getTargetMedium, getType, hasDefaultNamespace, hasRuleErrorsOrWarnings, insertRule, loadStyleSheet, parseStyleSheet, parseStyleSheet, registerNamespace, setDisabled, setHref, setMedia, setParentStyleSheet, toMinifiedString, toString, toStyleString, unregisterNamespace
Methods inherited from class io.sf.carte.doc.style.css.om.AbstractCSSStyleSheet
openConnection, parseRelAttribute
Methods inherited from class io.sf.carte.doc.style.css.om.AbstractStyleSheet
getTitle, setTitle
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.w3c.dom.stylesheets.StyleSheet
getTitle
-
Constructor Details
-
DOMCSSStyleSheet
public DOMCSSStyleSheet(String title, Node ownerNode, MediaQueryList media, AbstractCSSRule ownerRule, byte origin)
-
-
Method Details
-
getOwnerNode
- Specified by:
getOwnerNode
in interfaceorg.w3c.dom.stylesheets.StyleSheet
- Overrides:
getOwnerNode
in classBaseCSSStyleSheet
-
getHref
- Specified by:
getHref
in interfaceorg.w3c.dom.stylesheets.StyleSheet
- Overrides:
getHref
in classBaseCSSStyleSheet
-
createCSSStyleSheet
protected abstract DOMCSSStyleSheet createCSSStyleSheet(String title, Node ownerNode, MediaQueryList media, AbstractCSSRule ownerRule, byte origin) -
clone
Creates and returns a copy of this style sheet.The copy is a shallow copy (the rule list is new, but the referenced rules are the same as in the cloned object.
- Specified by:
clone
in interfaceCSSStyleSheet<AbstractCSSRule>
- Specified by:
clone
in classAbstractCSSStyleSheet
- Returns:
- a clone of this instance.
-