com.steadystate.css.dom
Class CSSImportRuleImpl
java.lang.Object
com.steadystate.css.dom.CSSOMObjectImpl
com.steadystate.css.dom.AbstractCSSRuleImpl
com.steadystate.css.dom.CSSImportRuleImpl
- All Implemented Interfaces:
- CSSOMObject, Serializable, org.w3c.dom.css.CSSImportRule, org.w3c.dom.css.CSSRule
public class CSSImportRuleImpl
- extends AbstractCSSRuleImpl
- implements org.w3c.dom.css.CSSImportRule
Implementation of CSSImportRule
.
TODO: Implement getStyleSheet()
- Author:
- David Schweinsberg, rbri
- See Also:
- Serialized Form
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 interface org.w3c.dom.css.CSSRule |
getParentRule, getParentStyleSheet |
CSSImportRuleImpl
public CSSImportRuleImpl(CSSStyleSheetImpl parentStyleSheet,
org.w3c.dom.css.CSSRule parentRule,
String href,
org.w3c.dom.stylesheets.MediaList media)
CSSImportRuleImpl
public CSSImportRuleImpl()
setHref
public void setHref(String href)
setMedia
public void setMedia(org.w3c.dom.stylesheets.MediaList media)
getType
public short getType()
- Specified by:
getType
in interface org.w3c.dom.css.CSSRule
getCssText
public String getCssText()
- Specified by:
getCssText
in interface org.w3c.dom.css.CSSRule
setCssText
public void setCssText(String cssText)
throws DOMException
- Specified by:
setCssText
in interface org.w3c.dom.css.CSSRule
- Throws:
DOMException
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
toString
public String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class AbstractCSSRuleImpl
hashCode
public int hashCode()
- Overrides:
hashCode
in class AbstractCSSRuleImpl
Copyright © 2013. All rights reserved.