com.steadystate.css.dom
Class CSSStyleDeclarationImpl
java.lang.Object
com.steadystate.css.dom.CSSStyleDeclarationImpl
- All Implemented Interfaces:
- Serializable, org.w3c.dom.css.CSSStyleDeclaration
public class CSSStyleDeclarationImpl
- extends Object
- implements org.w3c.dom.css.CSSStyleDeclaration, Serializable
Implementation of CSSStyleDeclaration
.
- Author:
- David Schweinsberg, rbri
- See Also:
- Serialized Form
CSSStyleDeclarationImpl
public CSSStyleDeclarationImpl(org.w3c.dom.css.CSSRule parentRule)
CSSStyleDeclarationImpl
public CSSStyleDeclarationImpl()
setParentRule
public void setParentRule(org.w3c.dom.css.CSSRule parentRule)
getProperties
public List<Property> getProperties()
setProperties
public void setProperties(List<Property> properties)
getCssText
public String getCssText()
- Specified by:
getCssText
in interface org.w3c.dom.css.CSSStyleDeclaration
setCssText
public void setCssText(String cssText)
throws DOMException
- Specified by:
setCssText
in interface org.w3c.dom.css.CSSStyleDeclaration
- Throws:
DOMException
getPropertyValue
public String getPropertyValue(String propertyName)
- Specified by:
getPropertyValue
in interface org.w3c.dom.css.CSSStyleDeclaration
getPropertyCSSValue
public org.w3c.dom.css.CSSValue getPropertyCSSValue(String propertyName)
- Specified by:
getPropertyCSSValue
in interface org.w3c.dom.css.CSSStyleDeclaration
removeProperty
public String removeProperty(String propertyName)
throws DOMException
- Specified by:
removeProperty
in interface org.w3c.dom.css.CSSStyleDeclaration
- Throws:
DOMException
getPropertyPriority
public String getPropertyPriority(String propertyName)
- Specified by:
getPropertyPriority
in interface org.w3c.dom.css.CSSStyleDeclaration
setProperty
public void setProperty(String propertyName,
String value,
String priority)
throws DOMException
- Specified by:
setProperty
in interface org.w3c.dom.css.CSSStyleDeclaration
- Throws:
DOMException
getLength
public int getLength()
- Specified by:
getLength
in interface org.w3c.dom.css.CSSStyleDeclaration
item
public String item(int index)
- Specified by:
item
in interface org.w3c.dom.css.CSSStyleDeclaration
getParentRule
public org.w3c.dom.css.CSSRule getParentRule()
- Specified by:
getParentRule
in interface org.w3c.dom.css.CSSStyleDeclaration
addProperty
public void addProperty(Property p)
getPropertyDeclaration
public Property getPropertyDeclaration(String propertyName)
toString
public String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2013. All rights reserved.