public class HandlerBase extends Object implements DocumentHandlerExt, org.w3c.css.sac.ErrorHandler
| Constructor and Description |
|---|
HandlerBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
charset(String characterEncoding)
Receive notification of a charset at-rule.
|
void |
comment(String text) |
void |
endDocument(org.w3c.css.sac.InputSource source) |
void |
endFontFace() |
void |
endMedia(org.w3c.css.sac.SACMediaList media) |
void |
endPage(String name,
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(String atRule) |
void |
importStyle(String uri,
org.w3c.css.sac.SACMediaList media,
String defaultNamespaceURI) |
void |
namespaceDeclaration(String prefix,
String uri) |
void |
property(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(String name,
String pseudo_page) |
void |
startSelector(org.w3c.css.sac.SelectorList selectors) |
void |
warning(org.w3c.css.sac.CSSParseException exception) |
public void startDocument(org.w3c.css.sac.InputSource source)
throws org.w3c.css.sac.CSSException
startDocument in interface org.w3c.css.sac.DocumentHandlerorg.w3c.css.sac.CSSExceptionpublic void endDocument(org.w3c.css.sac.InputSource source)
throws org.w3c.css.sac.CSSException
endDocument in interface org.w3c.css.sac.DocumentHandlerorg.w3c.css.sac.CSSExceptionpublic void comment(String text) throws org.w3c.css.sac.CSSException
comment in interface org.w3c.css.sac.DocumentHandlerorg.w3c.css.sac.CSSExceptionpublic void ignorableAtRule(String atRule) throws org.w3c.css.sac.CSSException
ignorableAtRule in interface org.w3c.css.sac.DocumentHandlerorg.w3c.css.sac.CSSExceptionpublic void namespaceDeclaration(String prefix, String uri) throws org.w3c.css.sac.CSSException
namespaceDeclaration in interface org.w3c.css.sac.DocumentHandlerorg.w3c.css.sac.CSSExceptionpublic void importStyle(String uri, org.w3c.css.sac.SACMediaList media, String defaultNamespaceURI) throws org.w3c.css.sac.CSSException
importStyle in interface org.w3c.css.sac.DocumentHandlerorg.w3c.css.sac.CSSExceptionpublic void startMedia(org.w3c.css.sac.SACMediaList media)
throws org.w3c.css.sac.CSSException
startMedia in interface org.w3c.css.sac.DocumentHandlerorg.w3c.css.sac.CSSExceptionpublic void endMedia(org.w3c.css.sac.SACMediaList media)
throws org.w3c.css.sac.CSSException
endMedia in interface org.w3c.css.sac.DocumentHandlerorg.w3c.css.sac.CSSExceptionpublic void startPage(String name, String pseudo_page) throws org.w3c.css.sac.CSSException
startPage in interface org.w3c.css.sac.DocumentHandlerorg.w3c.css.sac.CSSExceptionpublic void endPage(String name, String pseudo_page) throws org.w3c.css.sac.CSSException
endPage in interface org.w3c.css.sac.DocumentHandlerorg.w3c.css.sac.CSSExceptionpublic void startFontFace()
throws org.w3c.css.sac.CSSException
startFontFace in interface org.w3c.css.sac.DocumentHandlerorg.w3c.css.sac.CSSExceptionpublic void endFontFace()
throws org.w3c.css.sac.CSSException
endFontFace in interface org.w3c.css.sac.DocumentHandlerorg.w3c.css.sac.CSSExceptionpublic void startSelector(org.w3c.css.sac.SelectorList selectors)
throws org.w3c.css.sac.CSSException
startSelector in interface org.w3c.css.sac.DocumentHandlerorg.w3c.css.sac.CSSExceptionpublic void endSelector(org.w3c.css.sac.SelectorList selectors)
throws org.w3c.css.sac.CSSException
endSelector in interface org.w3c.css.sac.DocumentHandlerorg.w3c.css.sac.CSSExceptionpublic void property(String name, org.w3c.css.sac.LexicalUnit value, boolean important) throws org.w3c.css.sac.CSSException
property in interface org.w3c.css.sac.DocumentHandlerorg.w3c.css.sac.CSSExceptionpublic void charset(String characterEncoding) throws org.w3c.css.sac.CSSException
DocumentHandlerExtcharset in interface DocumentHandlerExtcharacterEncoding - the character encodingorg.w3c.css.sac.CSSException - Any CSS exception, possibly wrapping another exception.public void warning(org.w3c.css.sac.CSSParseException exception)
throws org.w3c.css.sac.CSSException
warning in interface org.w3c.css.sac.ErrorHandlerorg.w3c.css.sac.CSSExceptionpublic void error(org.w3c.css.sac.CSSParseException exception)
throws org.w3c.css.sac.CSSException
error in interface org.w3c.css.sac.ErrorHandlerorg.w3c.css.sac.CSSExceptionpublic void fatalError(org.w3c.css.sac.CSSParseException exception)
throws org.w3c.css.sac.CSSException
fatalError in interface org.w3c.css.sac.ErrorHandlerorg.w3c.css.sac.CSSExceptionCopyright © 2018. All rights reserved.