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>,NamespacePrefixMap,Parser.NamespaceMap,SheetContext,Serializable,Cloneable,CSSStyleSheet,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
ConstructorsConstructorDescriptionDOMCSSStyleSheet(String title, Node ownerNode, MediaQueryList media, AbstractCSSRule ownerRule, int origin) -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates and returns a copy of this style sheet.protected abstract DOMCSSStyleSheetcreateCSSStyleSheet(String title, Node ownerNode, MediaQueryList media, AbstractCSSRule ownerRule, int 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, createImportRule, createKeyframesRule, createMarginRule, createMediaRule, createNamespaceRule, createPageRule, createPropertyRule, createStyleDeclaration, createStyleDeclaration, createStyleRule, createSupportsRule, createSupportsRule, createSupportsRule, createUnknownRule, deleteRule, equals, getCssRules, getDisabled, getDocumentErrorHandler, getErrorHandler, getFirstStyleRule, getMedia, getNamespacePrefix, getNamespaceURI, getOrigin, getOwnerRule, getParentStyleSheet, getRulesForProperty, getSelectorsForProperty, getSelectorsForPropertyValue, getStyleRules, getStyleSheetFactory, getTargetMedium, getType, hasDefaultNamespace, hashCode, hasRuleErrorsOrWarnings, insertRule, loadStyleSheet, parseStyleSheet, registerNamespace, registerNamespacePrefix, setDisabled, setErrorHandler, setHref, setMedia, setParentStyleSheet, toMinifiedString, toString, toStyleString, unregisterNamespaceMethods inherited from class io.sf.carte.doc.style.css.om.AbstractCSSStyleSheet
hasFactoryFlag, openConnection, parseRelAttribute, parseStyleSheetMethods inherited from class io.sf.carte.doc.style.css.om.AbstractStyleSheet
getTitle, setTitleMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.sf.carte.doc.style.css.CSSStyleSheet
createViewportRuleMethods inherited from interface org.w3c.dom.stylesheets.StyleSheet
getTitle
-
Constructor Details
-
DOMCSSStyleSheet
public DOMCSSStyleSheet(String title, Node ownerNode, MediaQueryList media, AbstractCSSRule ownerRule, int origin)
-
-
Method Details
-
getOwnerNode
- Specified by:
getOwnerNodein interfaceStyleSheet- Overrides:
getOwnerNodein classBaseCSSStyleSheet
-
getHref
- Specified by:
getHrefin interfaceStyleSheet- Overrides:
getHrefin classBaseCSSStyleSheet
-
createCSSStyleSheet
protected abstract DOMCSSStyleSheet createCSSStyleSheet(String title, Node ownerNode, MediaQueryList media, AbstractCSSRule ownerRule, int 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:
clonein interfaceCSSStyleSheet<AbstractCSSRule>- Specified by:
clonein classAbstractCSSStyleSheet- Returns:
- a clone of this instance.
-