org.apache.batik.css
Class CSSOMMediaRule.MediaRuleHandler
java.lang.Object
|
+--org.apache.batik.css.DocumentHandlerAdapter
|
+--org.apache.batik.css.CSSOMMediaRule.MediaRuleHandler
- All Implemented Interfaces:
- DocumentHandler
- Enclosing class:
- CSSOMMediaRule
- protected class CSSOMMediaRule.MediaRuleHandler
- extends DocumentHandlerAdapter
To handle the parsing of a media rule.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
currentRule
protected CSSRule currentRule
- The current rule.
CSSOMMediaRule.MediaRuleHandler
protected CSSOMMediaRule.MediaRuleHandler()
startMedia
public void startMedia(SACMediaList media)
throws CSSException
- SAC: Implements
DocumentHandler.startMedia(SACMediaList)
.
- Overrides:
startMedia
in class DocumentHandlerAdapter
- Following copied from interface:
org.w3c.css.sac.DocumentHandler
- Parameters:
media
- The intended destination media for style information.- Throws:
CSSException
- Any CSS exception, possibly wrapping another
exception.
endMedia
public void endMedia(SACMediaList media)
throws CSSException
- SAC: Implements
DocumentHandler.endMedia(SACMediaList)
.
- Overrides:
endMedia
in class DocumentHandlerAdapter
- Following copied from interface:
org.w3c.css.sac.DocumentHandler
- Parameters:
media
- The intended destination media for style information.- Throws:
CSSException
- Any CSS exception, possibly wrapping another
exception.
startSelector
public void startSelector(SelectorList selectors)
throws CSSException
- SAC: Implements
DocumentHandler.startSelector(SelectorList)
.
- 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
- SAC: Implements
DocumentHandler.endSelector(SelectorList)
.
- 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
- SAC: Implements
DocumentHandler.property(String,LexicalUnit,boolean)
.
- 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.