W3C logo

org.w3c.dom.css
Interface CSSCharsetRule

All Superinterfaces:
CSSRule

public interface CSSCharsetRule
extends CSSRule

The CSSCharsetRule interface represents a

Since:
DOM Level 2

Fields inherited from interface org.w3c.dom.css.CSSRule
CHARSET_RULE, FONT_FACE_RULE, IMPORT_RULE, MEDIA_RULE, PAGE_RULE, STYLE_RULE, UNKNOWN_RULE
 
Method Summary
 java.lang.String getEncoding()
          The encoding information used in this @charset rule.
 void setEncoding(java.lang.String encoding)
          The encoding information used in this @charset rule.
 
Methods inherited from interface org.w3c.dom.css.CSSRule
getCssText, getParentRule, getParentStyleSheet, getType, setCssText
 

Method Detail

getEncoding

public java.lang.String getEncoding()
The encoding information used in this @charset rule.

setEncoding

public void setEncoding(java.lang.String encoding)
                 throws DOMException
The encoding information used in this @charset rule.
Throws:
DOMException - SYNTAX_ERR: Raised if the specified encoding value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this encoding rule is readonly.


Copyright © 2003 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C liability, trademark, document use and software licensing rules apply. Your interactions with this site are in accordance with our public and Member privacy statements.