|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.steadystate.css.dom.CSSCharsetRuleImpl
public class CSSCharsetRuleImpl
Field Summary |
---|
Fields inherited from interface org.w3c.dom.css.CSSRule |
---|
CHARSET_RULE, FONT_FACE_RULE, IMPORT_RULE, MEDIA_RULE, PAGE_RULE, STYLE_RULE, UNKNOWN_RULE |
Constructor Summary | |
---|---|
CSSCharsetRuleImpl(CSSStyleSheetImpl parentStyleSheet,
CSSRule parentRule,
java.lang.String encoding)
|
Method Summary | |
---|---|
java.lang.String |
getCssText()
The parsable textual representation of the rule. |
java.lang.String |
getEncoding()
The encoding information used in this @charset rule. |
CSSRule |
getParentRule()
If this rule is contained inside another rule (e.g. |
CSSStyleSheet |
getParentStyleSheet()
The style sheet that contains this rule. |
short |
getType()
The type of the rule, as defined above. |
void |
setCssText(java.lang.String cssText)
|
void |
setEncoding(java.lang.String encoding)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CSSCharsetRuleImpl(CSSStyleSheetImpl parentStyleSheet, CSSRule parentRule, java.lang.String encoding)
Method Detail |
---|
public short getType()
CSSRule
CSSRule
interface to the specific
derived interface implied by the type
.
getType
in interface CSSRule
public java.lang.String getCssText()
CSSRule
getCssText
in interface CSSRule
public void setCssText(java.lang.String cssText) throws org.w3c.dom.DOMException
setCssText
in interface CSSRule
org.w3c.dom.DOMException
public CSSStyleSheet getParentStyleSheet()
CSSRule
getParentStyleSheet
in interface CSSRule
public CSSRule getParentRule()
CSSRule
null
.
getParentRule
in interface CSSRule
public java.lang.String getEncoding()
CSSCharsetRule
@charset
rule.
getEncoding
in interface CSSCharsetRule
public void setEncoding(java.lang.String encoding) throws org.w3c.dom.DOMException
setEncoding
in interface CSSCharsetRule
org.w3c.dom.DOMException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |