org.apache.batik.css
Class CSSOMStyleDeclaration.StyleDeclarationHandler

java.lang.Object
  |
  +--org.apache.batik.css.DocumentHandlerAdapter
        |
        +--org.apache.batik.css.CSSOMStyleDeclaration.StyleDeclarationHandler
All Implemented Interfaces:
DocumentHandler
Enclosing class:
CSSOMStyleDeclaration

protected class CSSOMStyleDeclaration.StyleDeclarationHandler
extends DocumentHandlerAdapter

To handle the parsing of a style declaration


Constructor Summary
protected CSSOMStyleDeclaration.StyleDeclarationHandler()
           
 
Method Summary
 void property(java.lang.String name, LexicalUnit value, boolean important)
          Receive notification of a declaration.
 
Methods inherited from class org.apache.batik.css.DocumentHandlerAdapter
comment, endDocument, endFontFace, endMedia, endPage, endSelector, ignorableAtRule, importStyle, namespaceDeclaration, startDocument, startFontFace, startMedia, startPage, startSelector
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSSOMStyleDeclaration.StyleDeclarationHandler

protected CSSOMStyleDeclaration.StyleDeclarationHandler()
Method Detail

property

public void property(java.lang.String name,
                     LexicalUnit value,
                     boolean important)
              throws CSSException
Receive notification of a declaration.
Overrides:
property in class DocumentHandlerAdapter
Following copied from interface: org.w3c.css.sac.DocumentHandler
Parameters:
name - the name of the property.
value - the value of the property. All whitespace are stripped.
important - is this property important ?
Throws:
CSSException - Any CSS exception, possibly wrapping another exception.


Copyright © 2001 Apache Software Foundation. All Rights Reserved.