Class CSSCharsetRuleImpl

    • Field Detail

      • encoding_

        private java.lang.String encoding_
    • Constructor Detail

      • CSSCharsetRuleImpl

        public CSSCharsetRuleImpl​(CSSStyleSheetImpl parentStyleSheet,
                                  AbstractCSSRuleImpl parentRule,
                                  java.lang.String encoding)
        Ctor.
        Parameters:
        parentStyleSheet - the parent style sheet
        parentRule - the parent rule
        encoding - the encoding
    • Method Detail

      • setCssText

        public void setCssText​(java.lang.String cssText)
                        throws org.w3c.dom.DOMException
        Sets the css text.
        Specified by:
        setCssText in class AbstractCSSRuleImpl
        Parameters:
        cssText - the new css text
        Throws:
        org.w3c.dom.DOMException
      • getEncoding

        public java.lang.String getEncoding()
        Returns:
        the encoding
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object