public class CSSStyleRuleImpl extends AbstractCSSRuleImpl implements org.w3c.dom.css.CSSStyleRule
CSSStyleRule
.CHARSET_RULE, FONT_FACE_RULE, IMPORT_RULE, MEDIA_RULE, PAGE_RULE, STYLE_RULE, UNKNOWN_RULE
Constructor and Description |
---|
CSSStyleRuleImpl() |
CSSStyleRuleImpl(CSSStyleSheetImpl parentStyleSheet,
org.w3c.dom.css.CSSRule parentRule,
org.w3c.css.sac.SelectorList selectors) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getCssText() |
org.w3c.css.sac.SelectorList |
getSelectors() |
String |
getSelectorText() |
org.w3c.dom.css.CSSStyleDeclaration |
getStyle() |
short |
getType() |
int |
hashCode() |
void |
setCssText(String cssText) |
void |
setSelectors(org.w3c.css.sac.SelectorList selectors) |
void |
setSelectorText(String selectorText) |
void |
setStyle(org.w3c.dom.css.CSSStyleDeclaration style) |
String |
toString() |
getParentRule, getParentStyleSheet, getParentStyleSheetImpl, setParentRule, setParentStyleSheet
getUserData, getUserDataMap, setUserData, setUserDataMap
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getParentRule, getParentStyleSheet
public CSSStyleRuleImpl(CSSStyleSheetImpl parentStyleSheet, org.w3c.dom.css.CSSRule parentRule, org.w3c.css.sac.SelectorList selectors)
public CSSStyleRuleImpl()
public org.w3c.css.sac.SelectorList getSelectors()
public void setSelectors(org.w3c.css.sac.SelectorList selectors)
public short getType()
getType
in interface org.w3c.dom.css.CSSRule
public String getCssText()
getCssText
in interface org.w3c.dom.css.CSSRule
public void setCssText(String cssText) throws DOMException
setCssText
in interface org.w3c.dom.css.CSSRule
DOMException
public String getSelectorText()
getSelectorText
in interface org.w3c.dom.css.CSSStyleRule
public void setSelectorText(String selectorText) throws DOMException
setSelectorText
in interface org.w3c.dom.css.CSSStyleRule
DOMException
public org.w3c.dom.css.CSSStyleDeclaration getStyle()
getStyle
in interface org.w3c.dom.css.CSSStyleRule
public void setStyle(org.w3c.dom.css.CSSStyleDeclaration style)
public boolean equals(Object obj)
equals
in class AbstractCSSRuleImpl
public int hashCode()
hashCode
in class AbstractCSSRuleImpl
Copyright © 2013. All rights reserved.