Class 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 of CSSImportRule. 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
    • 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 interface org.w3c.dom.css.CSSRule
      • getCssText

        public java.lang.String getCssText()
        Specified by:
        getCssText in interface org.w3c.dom.css.CSSRule
      • setCssText

        public void setCssText​(java.lang.String cssText)
                        throws org.w3c.dom.DOMException
        Specified by:
        setCssText in interface org.w3c.dom.css.CSSRule
        Throws:
        org.w3c.dom.DOMException
      • getHref

        public java.lang.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 java.lang.String toString()
        Overrides:
        toString in class java.lang.Object