Package 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
,java.io.Serializable
,org.w3c.dom.css.CSSImportRule
,org.w3c.dom.css.CSSRule
public class CSSImportRuleImpl extends AbstractCSSRuleImpl implements org.w3c.dom.css.CSSImportRule, java.io.Serializable
Implementation ofCSSImportRule
. TODO: Implement getStyleSheet()- Version:
- $Id: CSSImportRuleImpl.java,v 1.3 2008/03/26 02:17:24 sdanig Exp $
- Author:
- David Schweinsberg
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.steadystate.css.dom.AbstractCSSRuleImpl
parentRule, parentStyleSheet
-
-
Constructor Summary
Constructors Constructor Description CSSImportRuleImpl()
CSSImportRuleImpl(CSSStyleSheetImpl parentStyleSheet, org.w3c.dom.css.CSSRule parentRule, java.lang.String href, org.w3c.dom.stylesheets.MediaList media)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCssText()
java.lang.String
getHref()
org.w3c.dom.stylesheets.MediaList
getMedia()
org.w3c.dom.css.CSSStyleSheet
getStyleSheet()
short
getType()
void
setCssText(java.lang.String cssText)
void
setHref(java.lang.String href)
void
setMedia(org.w3c.dom.stylesheets.MediaList media)
java.lang.String
toString()
-
Methods inherited from class com.steadystate.css.dom.AbstractCSSRuleImpl
getParentRule, getParentStyleSheet, setParentRule, setParentStyleSheet
-
Methods inherited from class com.steadystate.css.dom.CSSOMObjectImpl
getUserData, getUserDataMap, setUserData, setUserDataMap
-
-
-
-
Constructor Detail
-
CSSImportRuleImpl
public CSSImportRuleImpl(CSSStyleSheetImpl parentStyleSheet, org.w3c.dom.css.CSSRule parentRule, java.lang.String href, org.w3c.dom.stylesheets.MediaList media)
-
CSSImportRuleImpl
public CSSImportRuleImpl()
-
-
Method Detail
-
setHref
public void setHref(java.lang.String href)
-
setMedia
public void setMedia(org.w3c.dom.stylesheets.MediaList media)
-
getType
public short getType()
- Specified by:
getType
in interfaceorg.w3c.dom.css.CSSRule
-
getCssText
public java.lang.String getCssText()
- Specified by:
getCssText
in interfaceorg.w3c.dom.css.CSSRule
-
setCssText
public void setCssText(java.lang.String cssText) throws org.w3c.dom.DOMException
- Specified by:
setCssText
in interfaceorg.w3c.dom.css.CSSRule
- Throws:
org.w3c.dom.DOMException
-
getHref
public java.lang.String getHref()
- Specified by:
getHref
in interfaceorg.w3c.dom.css.CSSImportRule
-
getMedia
public org.w3c.dom.stylesheets.MediaList getMedia()
- Specified by:
getMedia
in interfaceorg.w3c.dom.css.CSSImportRule
-
getStyleSheet
public org.w3c.dom.css.CSSStyleSheet getStyleSheet()
- Specified by:
getStyleSheet
in interfaceorg.w3c.dom.css.CSSImportRule
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-