public class CSSImportRuleImpl extends AbstractCSSRuleImpl implements org.w3c.dom.css.CSSImportRule
CSSImportRule
.
TODO: Implement getStyleSheet()CHARSET_RULE, FONT_FACE_RULE, IMPORT_RULE, MEDIA_RULE, PAGE_RULE, STYLE_RULE, UNKNOWN_RULE
Constructor and Description |
---|
CSSImportRuleImpl() |
CSSImportRuleImpl(CSSStyleSheetImpl parentStyleSheet,
org.w3c.dom.css.CSSRule parentRule,
String href,
org.w3c.dom.stylesheets.MediaList media) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getCssText() |
String |
getHref() |
org.w3c.dom.stylesheets.MediaList |
getMedia() |
org.w3c.dom.css.CSSStyleSheet |
getStyleSheet() |
short |
getType() |
int |
hashCode() |
void |
setCssText(String cssText) |
void |
setHref(String href) |
void |
setMedia(org.w3c.dom.stylesheets.MediaList media) |
String |
toString() |
getParentRule, getParentStyleSheet, getParentStyleSheetImpl, setParentRule, setParentStyleSheet
getUserData, getUserDataMap, setUserData, setUserDataMap
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getParentRule, getParentStyleSheet
public CSSImportRuleImpl(CSSStyleSheetImpl parentStyleSheet, org.w3c.dom.css.CSSRule parentRule, String href, org.w3c.dom.stylesheets.MediaList media)
public CSSImportRuleImpl()
public void setHref(String href)
public void setMedia(org.w3c.dom.stylesheets.MediaList media)
public short getType()
getType
in interface org.w3c.dom.css.CSSRule
public String getCssText()
getCssText
in interface org.w3c.dom.css.CSSRule
public void setCssText(String cssText) throws DOMException
setCssText
in interface org.w3c.dom.css.CSSRule
DOMException
public String getHref()
getHref
in interface org.w3c.dom.css.CSSImportRule
public org.w3c.dom.stylesheets.MediaList getMedia()
getMedia
in interface org.w3c.dom.css.CSSImportRule
public org.w3c.dom.css.CSSStyleSheet getStyleSheet()
getStyleSheet
in interface org.w3c.dom.css.CSSImportRule
public boolean equals(Object obj)
equals
in class AbstractCSSRuleImpl
public int hashCode()
hashCode
in class AbstractCSSRuleImpl
Copyright © 2013. All rights reserved.