Class CSSStyleDeclarationImpl

  • All Implemented Interfaces:
    java.io.Serializable, org.w3c.dom.css.CSSStyleDeclaration

    public class CSSStyleDeclarationImpl
    extends java.lang.Object
    implements org.w3c.dom.css.CSSStyleDeclaration, java.io.Serializable
    Implementation of CSSStyleDeclaration.
    Version:
    $Id: CSSStyleDeclarationImpl.java,v 1.4 2008/03/26 02:08:55 sdanig Exp $
    Author:
    David Schweinsberg
    See Also:
    Serialized Form
    • Constructor Detail

      • CSSStyleDeclarationImpl

        public CSSStyleDeclarationImpl​(org.w3c.dom.css.CSSRule parentRule)
      • CSSStyleDeclarationImpl

        public CSSStyleDeclarationImpl()
    • Method Detail

      • setParentRule

        public void setParentRule​(org.w3c.dom.css.CSSRule parentRule)
      • getProperties

        public java.util.List<Property> getProperties()
      • setProperties

        public void setProperties​(java.util.List<Property> properties)
      • getCssText

        public java.lang.String getCssText()
        Specified by:
        getCssText in interface org.w3c.dom.css.CSSStyleDeclaration
      • setCssText

        public void setCssText​(java.lang.String cssText)
                        throws org.w3c.dom.DOMException
        Specified by:
        setCssText in interface org.w3c.dom.css.CSSStyleDeclaration
        Throws:
        org.w3c.dom.DOMException
      • getPropertyValue

        public java.lang.String getPropertyValue​(java.lang.String propertyName)
        Specified by:
        getPropertyValue in interface org.w3c.dom.css.CSSStyleDeclaration
      • getPropertyCSSValue

        public org.w3c.dom.css.CSSValue getPropertyCSSValue​(java.lang.String propertyName)
        Specified by:
        getPropertyCSSValue in interface org.w3c.dom.css.CSSStyleDeclaration
      • removeProperty

        public java.lang.String removeProperty​(java.lang.String propertyName)
                                        throws org.w3c.dom.DOMException
        Specified by:
        removeProperty in interface org.w3c.dom.css.CSSStyleDeclaration
        Throws:
        org.w3c.dom.DOMException
      • getPropertyPriority

        public java.lang.String getPropertyPriority​(java.lang.String propertyName)
        Specified by:
        getPropertyPriority in interface org.w3c.dom.css.CSSStyleDeclaration
      • setProperty

        public void setProperty​(java.lang.String propertyName,
                                java.lang.String value,
                                java.lang.String priority)
                         throws org.w3c.dom.DOMException
        Specified by:
        setProperty in interface org.w3c.dom.css.CSSStyleDeclaration
        Throws:
        org.w3c.dom.DOMException
      • getLength

        public int getLength()
        Specified by:
        getLength in interface org.w3c.dom.css.CSSStyleDeclaration
      • item

        public java.lang.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​(java.lang.String name)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object