com.steadystate.css.dom
Class CSSCharsetRuleImpl
java.lang.Object
com.steadystate.css.dom.CSSOMObjectImpl
com.steadystate.css.dom.AbstractCSSRuleImpl
com.steadystate.css.dom.CSSCharsetRuleImpl
- All Implemented Interfaces:
- CSSOMObject, Serializable, org.w3c.dom.css.CSSCharsetRule, org.w3c.dom.css.CSSRule
public class CSSCharsetRuleImpl
- extends AbstractCSSRuleImpl
- implements org.w3c.dom.css.CSSCharsetRule
Implementation of CSSCharsetRule.
- Author:
- David Schweinsberg, rbri
- See Also:
- Serialized Form
| Fields inherited from interface org.w3c.dom.css.CSSRule |
CHARSET_RULE, FONT_FACE_RULE, IMPORT_RULE, MEDIA_RULE, PAGE_RULE, STYLE_RULE, UNKNOWN_RULE |
| Methods inherited from interface org.w3c.dom.css.CSSRule |
getParentRule, getParentStyleSheet |
CSSCharsetRuleImpl
public CSSCharsetRuleImpl(CSSStyleSheetImpl parentStyleSheet,
org.w3c.dom.css.CSSRule parentRule,
String encoding)
CSSCharsetRuleImpl
public CSSCharsetRuleImpl()
getType
public short getType()
- Specified by:
getType in interface org.w3c.dom.css.CSSRule
getCssText
public String getCssText()
- Specified by:
getCssText in interface org.w3c.dom.css.CSSRule
setCssText
public void setCssText(String cssText)
throws DOMException
- Specified by:
setCssText in interface org.w3c.dom.css.CSSRule
- Throws:
DOMException
getEncoding
public String getEncoding()
- Specified by:
getEncoding in interface org.w3c.dom.css.CSSCharsetRule
setEncoding
public void setEncoding(String encoding)
throws DOMException
- Specified by:
setEncoding in interface org.w3c.dom.css.CSSCharsetRule
- Throws:
DOMException
equals
public boolean equals(Object obj)
- Overrides:
equals in class AbstractCSSRuleImpl
hashCode
public int hashCode()
- Overrides:
hashCode in class AbstractCSSRuleImpl
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2013. All rights reserved.