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,
SelectorList selectors) |
| 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.
|
SelectorList |
getSelectors() |
String |
getSelectorText() |
org.w3c.dom.css.CSSStyleDeclaration |
getStyle() |
short |
getType() |
int |
hashCode() |
void |
setCssText(String cssText) |
void |
setSelectors(SelectorList selectors) |
void |
setSelectorText(String selectorText) |
void |
setStyle(org.w3c.dom.css.CSSStyleDeclaration style) |
String |
toString() |
getCssText, getParentRule, getParentStyleSheet, getParentStyleSheetImpl, setParentRule, setParentStyleSheetgetUserData, getUserDataMap, setUserData, setUserDataMapclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCssText, getParentRule, getParentStyleSheetpublic CSSStyleRuleImpl(CSSStyleSheetImpl parentStyleSheet, org.w3c.dom.css.CSSRule parentRule, SelectorList selectors)
public CSSStyleRuleImpl()
public SelectorList getSelectors()
public void setSelectors(SelectorList selectors)
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 getSelectorText()
getSelectorText in interface org.w3c.dom.css.CSSStyleRulepublic void setSelectorText(String selectorText) throws DOMException
setSelectorText in interface org.w3c.dom.css.CSSStyleRuleDOMExceptionpublic org.w3c.dom.css.CSSStyleDeclaration getStyle()
getStyle in interface org.w3c.dom.css.CSSStyleRulepublic void setStyle(org.w3c.dom.css.CSSStyleDeclaration style)
public boolean equals(Object obj)
equals in class AbstractCSSRuleImplpublic int hashCode()
hashCode in class AbstractCSSRuleImplCopyright © 1999–2022. All rights reserved.