com.steadystate.css.parser
Class HandlerBase
java.lang.Object
com.steadystate.css.parser.HandlerBase
- All Implemented Interfaces:
- DocumentHandlerExt, DocumentHandler, ErrorHandler
public class HandlerBase
- extends Object
- implements DocumentHandlerExt, ErrorHandler
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(InputSource source)
throws CSSException
- Specified by:
startDocument
in interface DocumentHandler
- Throws:
CSSException
endDocument
public void endDocument(InputSource source)
throws CSSException
- Specified by:
endDocument
in interface DocumentHandler
- Throws:
CSSException
comment
public void comment(String text)
throws CSSException
- Specified by:
comment
in interface DocumentHandler
- Throws:
CSSException
ignorableAtRule
public void ignorableAtRule(String atRule)
throws CSSException
- Specified by:
ignorableAtRule
in interface DocumentHandler
- Throws:
CSSException
namespaceDeclaration
public void namespaceDeclaration(String prefix,
String uri)
throws CSSException
- Specified by:
namespaceDeclaration
in interface DocumentHandler
- Throws:
CSSException
importStyle
public void importStyle(String uri,
SACMediaList media,
String defaultNamespaceURI)
throws CSSException
- Specified by:
importStyle
in interface DocumentHandler
- Throws:
CSSException
startMedia
public void startMedia(SACMediaList media)
throws CSSException
- Specified by:
startMedia
in interface DocumentHandler
- Throws:
CSSException
endMedia
public void endMedia(SACMediaList media)
throws CSSException
- Specified by:
endMedia
in interface DocumentHandler
- Throws:
CSSException
startPage
public void startPage(String name,
String pseudo_page)
throws CSSException
- Specified by:
startPage
in interface DocumentHandler
- Throws:
CSSException
endPage
public void endPage(String name,
String pseudo_page)
throws CSSException
- Specified by:
endPage
in interface DocumentHandler
- Throws:
CSSException
startFontFace
public void startFontFace()
throws CSSException
- Specified by:
startFontFace
in interface DocumentHandler
- Throws:
CSSException
endFontFace
public void endFontFace()
throws CSSException
- Specified by:
endFontFace
in interface DocumentHandler
- Throws:
CSSException
startSelector
public void startSelector(SelectorList selectors)
throws CSSException
- Specified by:
startSelector
in interface DocumentHandler
- Throws:
CSSException
endSelector
public void endSelector(SelectorList selectors)
throws CSSException
- Specified by:
endSelector
in interface DocumentHandler
- Throws:
CSSException
property
public void property(String name,
LexicalUnit value,
boolean important)
throws CSSException
- Specified by:
property
in interface DocumentHandler
- Throws:
CSSException
charset
public void charset(String characterEncoding)
throws 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:
CSSException
- Any CSS exception, possibly wrapping another exception.
warning
public void warning(CSSParseException exception)
throws CSSException
- Specified by:
warning
in interface ErrorHandler
- Throws:
CSSException
error
public void error(CSSParseException exception)
throws CSSException
- Specified by:
error
in interface ErrorHandler
- Throws:
CSSException
fatalError
public void fatalError(CSSParseException exception)
throws CSSException
- Specified by:
fatalError
in interface ErrorHandler
- Throws:
CSSException
Copyright © 2011. All Rights Reserved.