public class CSSCharsetRuleImpl extends AbstractCSSRuleImpl implements org.w3c.dom.css.CSSCharsetRule
CSSCharsetRule.CHARSET_RULE, FONT_FACE_RULE, IMPORT_RULE, MEDIA_RULE, PAGE_RULE, STYLE_RULE, UNKNOWN_RULE| Constructor and Description |
|---|
CSSCharsetRuleImpl() |
CSSCharsetRuleImpl(CSSStyleSheetImpl parentStyleSheet,
org.w3c.dom.css.CSSRule parentRule,
String encoding) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCssText(CSSFormat format)
Returns a string representation of the rule based on the given format.
|
String |
getEncoding() |
short |
getType() |
int |
hashCode() |
void |
setCssText(String cssText) |
void |
setEncoding(String encoding) |
String |
toString() |
getCssText, getParentRule, getParentStyleSheet, getParentStyleSheetImpl, setParentRule, setParentStyleSheetgetUserData, getUserDataMap, setUserData, setUserDataMapclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCssText, getParentRule, getParentStyleSheetpublic CSSCharsetRuleImpl(CSSStyleSheetImpl parentStyleSheet, org.w3c.dom.css.CSSRule parentRule, String encoding)
public CSSCharsetRuleImpl()
public short getType()
getType in interface org.w3c.dom.css.CSSRulepublic String getCssText(CSSFormat format)
getCssText in interface CSSFormatablegetCssText in class AbstractCSSRuleImplformat - the formatting rulespublic void setCssText(String cssText) throws DOMException
setCssText in interface org.w3c.dom.css.CSSRuleDOMExceptionpublic String getEncoding()
getEncoding in interface org.w3c.dom.css.CSSCharsetRulepublic void setEncoding(String encoding) throws DOMException
setEncoding in interface org.w3c.dom.css.CSSCharsetRuleDOMExceptionpublic boolean equals(Object obj)
equals in class AbstractCSSRuleImplpublic int hashCode()
hashCode in class AbstractCSSRuleImplCopyright © 1999–2022. All rights reserved.