com.steadystate.css.dom
Class CSSStyleRuleImpl
java.lang.Object
com.steadystate.css.dom.CSSOMObjectImpl
com.steadystate.css.dom.AbstractCSSRuleImpl
com.steadystate.css.dom.CSSStyleRuleImpl
- All Implemented Interfaces:
- CSSOMObject, java.io.Serializable, org.w3c.dom.css.CSSRule, org.w3c.dom.css.CSSStyleRule
public class CSSStyleRuleImpl
- extends AbstractCSSRuleImpl
- implements org.w3c.dom.css.CSSStyleRule, java.io.Serializable
Implementation of CSSStyleRule.
- Version:
- $Id: CSSStyleRuleImpl.java,v 1.2 2008/03/26 02:17:24 sdanig Exp $
- Author:
- David Schweinsberg
- 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 class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.w3c.dom.css.CSSRule |
getParentRule, getParentStyleSheet |
CSSStyleRuleImpl
public CSSStyleRuleImpl(CSSStyleSheetImpl parentStyleSheet,
org.w3c.dom.css.CSSRule parentRule,
org.w3c.css.sac.SelectorList selectors)
CSSStyleRuleImpl
public CSSStyleRuleImpl()
getSelectors
public org.w3c.css.sac.SelectorList getSelectors()
setSelectors
public void setSelectors(org.w3c.css.sac.SelectorList selectors)
getType
public short getType()
- Specified by:
getType in interface org.w3c.dom.css.CSSRule
getCssText
public java.lang.String getCssText()
- Specified by:
getCssText in interface org.w3c.dom.css.CSSRule
setCssText
public void setCssText(java.lang.String cssText)
throws org.w3c.dom.DOMException
- Specified by:
setCssText in interface org.w3c.dom.css.CSSRule
- Throws:
org.w3c.dom.DOMException
getSelectorText
public java.lang.String getSelectorText()
- Specified by:
getSelectorText in interface org.w3c.dom.css.CSSStyleRule
setSelectorText
public void setSelectorText(java.lang.String selectorText)
throws org.w3c.dom.DOMException
- Specified by:
setSelectorText in interface org.w3c.dom.css.CSSStyleRule
- Throws:
org.w3c.dom.DOMException
getStyle
public org.w3c.dom.css.CSSStyleDeclaration getStyle()
- Specified by:
getStyle in interface org.w3c.dom.css.CSSStyleRule
setStyle
public void setStyle(org.w3c.dom.css.CSSStyleDeclaration style)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2010. All Rights Reserved.