org.w3c.dom.css
public interface: CSSStyleRule [javadoc |
source]
All Implemented Interfaces:
CSSRule
The
CSSStyleRule interface represents a single rule set in a
CSS style sheet.
See also the Document Object Model (DOM) Level 2 Style Specification.
| Method from org.w3c.dom.css.CSSStyleRule Detail: |
public String getSelectorText()
The textual representation of the selector for the rule set. The
implementation may have stripped out insignificant whitespace while
parsing the selector. |
public CSSStyleDeclaration getStyle()
The declaration-block of this rule set. |
public void setSelectorText(String selectorText) throws DOMException
The textual representation of the selector for the rule set. The
implementation may have stripped out insignificant whitespace while
parsing the selector. |