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.StringgetCssText()java.lang.StringgetHref()org.w3c.dom.stylesheets.MediaListgetMedia()org.w3c.dom.css.CSSStyleSheetgetStyleSheet()shortgetType()voidsetCssText(java.lang.String cssText)voidsetHref(java.lang.String href)voidsetMedia(org.w3c.dom.stylesheets.MediaList media)java.lang.StringtoString()-
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:
getTypein interfaceorg.w3c.dom.css.CSSRule
-
getCssText
public java.lang.String getCssText()
- Specified by:
getCssTextin interfaceorg.w3c.dom.css.CSSRule
-
setCssText
public void setCssText(java.lang.String cssText) throws org.w3c.dom.DOMException- Specified by:
setCssTextin interfaceorg.w3c.dom.css.CSSRule- Throws:
org.w3c.dom.DOMException
-
getHref
public java.lang.String getHref()
- Specified by:
getHrefin interfaceorg.w3c.dom.css.CSSImportRule
-
getMedia
public org.w3c.dom.stylesheets.MediaList getMedia()
- Specified by:
getMediain interfaceorg.w3c.dom.css.CSSImportRule
-
getStyleSheet
public org.w3c.dom.css.CSSStyleSheet getStyleSheet()
- Specified by:
getStyleSheetin interfaceorg.w3c.dom.css.CSSImportRule
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-