com.steadystate.css.parser
Class HandlerBase
java.lang.Object
com.steadystate.css.parser.HandlerBase
- All Implemented Interfaces:
- DocumentHandlerExt, org.w3c.css.sac.DocumentHandler, org.w3c.css.sac.ErrorHandler
public class HandlerBase
- extends java.lang.Object
- implements DocumentHandlerExt, org.w3c.css.sac.ErrorHandler
Method Summary |
void |
charset(java.lang.String characterEncoding)
Receive notification of a charset at-rule. |
void |
comment(java.lang.String text)
|
void |
endDocument(org.w3c.css.sac.InputSource source)
|
void |
endFontFace()
|
void |
endMedia(org.w3c.css.sac.SACMediaList media)
|
void |
endPage(java.lang.String name,
java.lang.String pseudo_page)
|
void |
endSelector(org.w3c.css.sac.SelectorList selectors)
|
void |
error(org.w3c.css.sac.CSSParseException exception)
|
void |
fatalError(org.w3c.css.sac.CSSParseException exception)
|
void |
ignorableAtRule(java.lang.String atRule)
|
void |
importStyle(java.lang.String uri,
org.w3c.css.sac.SACMediaList media,
java.lang.String defaultNamespaceURI)
|
void |
namespaceDeclaration(java.lang.String prefix,
java.lang.String uri)
|
void |
property(java.lang.String name,
org.w3c.css.sac.LexicalUnit value,
boolean important)
|
void |
startDocument(org.w3c.css.sac.InputSource source)
|
void |
startFontFace()
|
void |
startMedia(org.w3c.css.sac.SACMediaList media)
|
void |
startPage(java.lang.String name,
java.lang.String pseudo_page)
|
void |
startSelector(org.w3c.css.sac.SelectorList selectors)
|
void |
warning(org.w3c.css.sac.CSSParseException exception)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HandlerBase
public HandlerBase()
startDocument
public void startDocument(org.w3c.css.sac.InputSource source)
throws org.w3c.css.sac.CSSException
- Specified by:
startDocument
in interface org.w3c.css.sac.DocumentHandler
- Throws:
org.w3c.css.sac.CSSException
endDocument
public void endDocument(org.w3c.css.sac.InputSource source)
throws org.w3c.css.sac.CSSException
- Specified by:
endDocument
in interface org.w3c.css.sac.DocumentHandler
- Throws:
org.w3c.css.sac.CSSException
comment
public void comment(java.lang.String text)
throws org.w3c.css.sac.CSSException
- Specified by:
comment
in interface org.w3c.css.sac.DocumentHandler
- Throws:
org.w3c.css.sac.CSSException
ignorableAtRule
public void ignorableAtRule(java.lang.String atRule)
throws org.w3c.css.sac.CSSException
- Specified by:
ignorableAtRule
in interface org.w3c.css.sac.DocumentHandler
- Throws:
org.w3c.css.sac.CSSException
namespaceDeclaration
public void namespaceDeclaration(java.lang.String prefix,
java.lang.String uri)
throws org.w3c.css.sac.CSSException
- Specified by:
namespaceDeclaration
in interface org.w3c.css.sac.DocumentHandler
- Throws:
org.w3c.css.sac.CSSException
importStyle
public void importStyle(java.lang.String uri,
org.w3c.css.sac.SACMediaList media,
java.lang.String defaultNamespaceURI)
throws org.w3c.css.sac.CSSException
- Specified by:
importStyle
in interface org.w3c.css.sac.DocumentHandler
- Throws:
org.w3c.css.sac.CSSException
startMedia
public void startMedia(org.w3c.css.sac.SACMediaList media)
throws org.w3c.css.sac.CSSException
- Specified by:
startMedia
in interface org.w3c.css.sac.DocumentHandler
- Throws:
org.w3c.css.sac.CSSException
endMedia
public void endMedia(org.w3c.css.sac.SACMediaList media)
throws org.w3c.css.sac.CSSException
- Specified by:
endMedia
in interface org.w3c.css.sac.DocumentHandler
- Throws:
org.w3c.css.sac.CSSException
startPage
public void startPage(java.lang.String name,
java.lang.String pseudo_page)
throws org.w3c.css.sac.CSSException
- Specified by:
startPage
in interface org.w3c.css.sac.DocumentHandler
- Throws:
org.w3c.css.sac.CSSException
endPage
public void endPage(java.lang.String name,
java.lang.String pseudo_page)
throws org.w3c.css.sac.CSSException
- Specified by:
endPage
in interface org.w3c.css.sac.DocumentHandler
- Throws:
org.w3c.css.sac.CSSException
startFontFace
public void startFontFace()
throws org.w3c.css.sac.CSSException
- Specified by:
startFontFace
in interface org.w3c.css.sac.DocumentHandler
- Throws:
org.w3c.css.sac.CSSException
endFontFace
public void endFontFace()
throws org.w3c.css.sac.CSSException
- Specified by:
endFontFace
in interface org.w3c.css.sac.DocumentHandler
- Throws:
org.w3c.css.sac.CSSException
startSelector
public void startSelector(org.w3c.css.sac.SelectorList selectors)
throws org.w3c.css.sac.CSSException
- Specified by:
startSelector
in interface org.w3c.css.sac.DocumentHandler
- Throws:
org.w3c.css.sac.CSSException
endSelector
public void endSelector(org.w3c.css.sac.SelectorList selectors)
throws org.w3c.css.sac.CSSException
- Specified by:
endSelector
in interface org.w3c.css.sac.DocumentHandler
- Throws:
org.w3c.css.sac.CSSException
property
public void property(java.lang.String name,
org.w3c.css.sac.LexicalUnit value,
boolean important)
throws org.w3c.css.sac.CSSException
- Specified by:
property
in interface org.w3c.css.sac.DocumentHandler
- Throws:
org.w3c.css.sac.CSSException
charset
public void charset(java.lang.String characterEncoding)
throws org.w3c.css.sac.CSSException
- Description copied from interface:
DocumentHandlerExt
- Receive notification of a charset at-rule.
- Specified by:
charset
in interface DocumentHandlerExt
- Parameters:
characterEncoding
- the character encoding
- Throws:
org.w3c.css.sac.CSSException
- Any CSS exception, possibly wrapping another exception.
warning
public void warning(org.w3c.css.sac.CSSParseException exception)
throws org.w3c.css.sac.CSSException
- Specified by:
warning
in interface org.w3c.css.sac.ErrorHandler
- Throws:
org.w3c.css.sac.CSSException
error
public void error(org.w3c.css.sac.CSSParseException exception)
throws org.w3c.css.sac.CSSException
- Specified by:
error
in interface org.w3c.css.sac.ErrorHandler
- Throws:
org.w3c.css.sac.CSSException
fatalError
public void fatalError(org.w3c.css.sac.CSSParseException exception)
throws org.w3c.css.sac.CSSException
- Specified by:
fatalError
in interface org.w3c.css.sac.ErrorHandler
- Throws:
org.w3c.css.sac.CSSException
Copyright © 2010. All Rights Reserved.