info.informatica.doc.style.css.dom
Class DOMCSSImportRule
java.lang.Object
info.informatica.doc.style.css.dom.BaseCSSRule
info.informatica.doc.style.css.dom.DOMCSSImportRule
- All Implemented Interfaces:
- org.w3c.dom.css.CSSImportRule, org.w3c.dom.css.CSSRule
public class DOMCSSImportRule
- extends BaseCSSRule
- implements org.w3c.dom.css.CSSImportRule
Implementation of CSSImportRule.
- Author:
- Carlos Amengual (amengual at informatica.info)
| Fields inherited from interface org.w3c.dom.css.CSSRule |
CHARSET_RULE, FONT_FACE_RULE, IMPORT_RULE, MEDIA_RULE, PAGE_RULE, STYLE_RULE, UNKNOWN_RULE |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.w3c.dom.css.CSSRule |
getParentRule, getParentStyleSheet, getType |
DOMCSSImportRule
public DOMCSSImportRule(org.w3c.dom.css.CSSStyleSheet parentSheet)
getHref
public String getHref()
- Specified by:
getHref in interface org.w3c.dom.css.CSSImportRule
getMedia
public org.w3c.dom.stylesheets.MediaList getMedia()
- Specified by:
getMedia in interface org.w3c.dom.css.CSSImportRule
getStyleSheet
public org.w3c.dom.css.CSSStyleSheet getStyleSheet()
- Specified by:
getStyleSheet in interface org.w3c.dom.css.CSSImportRule
setCssText
public void setCssText(String cssText)
throws DOMException
- Specified by:
setCssText in interface org.w3c.dom.css.CSSRule- Specified by:
setCssText in class BaseCSSRule
- Throws:
DOMException
getCssText
public String getCssText()
- Specified by:
getCssText in interface org.w3c.dom.css.CSSRule- Specified by:
getCssText in class BaseCSSRule
loadStyleSheet
public void loadStyleSheet(String uri,
String title,
org.w3c.css.sac.SACMediaList media)
throws org.w3c.css.sac.CSSException,
IOException,
DOMException
- Loads and parses an imported CSS style sheet.
- Parameters:
uri - the URI to import the sheet.title - the advisory title of the imported sheet. If not set, will try
to get the title from the parent style sheet.media - the destination SAC media list for the style information.
- Throws:
org.w3c.css.sac.CSSException
IOException
DOMException
Copyright © 2011 informatica.info. All Rights Reserved.