org.apache.batik.css
Class CSSOMStyleRule.StyleRuleHandler

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

protected class CSSOMStyleRule.StyleRuleHandler
extends DocumentHandlerAdapter

To handle the parsing of a style rule.


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

Constructor Detail

CSSOMStyleRule.StyleRuleHandler

protected CSSOMStyleRule.StyleRuleHandler()
Method Detail

startSelector

public void startSelector(SelectorList selectors)
                   throws CSSException
Receives notification of the beginning of a rule statement.
Overrides:
startSelector in class DocumentHandlerAdapter
Following copied from interface: org.w3c.css.sac.DocumentHandler
Parameters:
selectors - All intended selectors for all declarations.
Throws:
CSSException - Any CSS exception, possibly wrapping another exception.

endSelector

public void endSelector(SelectorList selectors)
                 throws CSSException
Receives notification of the end of a rule statement.
Overrides:
endSelector in class DocumentHandlerAdapter
Following copied from interface: org.w3c.css.sac.DocumentHandler
Parameters:
selectors - All intended selectors for all declarations.
Throws:
CSSException - Any CSS exception, possibly wrapping another exception.

property

public void property(java.lang.String name,
                     LexicalUnit value,
                     boolean important)
              throws CSSException
Receives 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.