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.DocumentHandler
org.w3c.css.sac.CSSException
public void endDocument(org.w3c.css.sac.InputSource source) throws org.w3c.css.sac.CSSException
endDocument
in interface org.w3c.css.sac.DocumentHandler
org.w3c.css.sac.CSSException
public void comment(String text) throws org.w3c.css.sac.CSSException
comment
in interface org.w3c.css.sac.DocumentHandler
org.w3c.css.sac.CSSException
public void ignorableAtRule(String atRule) throws org.w3c.css.sac.CSSException
ignorableAtRule
in interface org.w3c.css.sac.DocumentHandler
org.w3c.css.sac.CSSException
public void namespaceDeclaration(String prefix, String uri) throws org.w3c.css.sac.CSSException
namespaceDeclaration
in interface org.w3c.css.sac.DocumentHandler
org.w3c.css.sac.CSSException
public 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.DocumentHandler
org.w3c.css.sac.CSSException
public void startMedia(org.w3c.css.sac.SACMediaList media) throws org.w3c.css.sac.CSSException
startMedia
in interface org.w3c.css.sac.DocumentHandler
org.w3c.css.sac.CSSException
public void endMedia(org.w3c.css.sac.SACMediaList media) throws org.w3c.css.sac.CSSException
endMedia
in interface org.w3c.css.sac.DocumentHandler
org.w3c.css.sac.CSSException
public void startPage(String name, String pseudo_page) throws org.w3c.css.sac.CSSException
startPage
in interface org.w3c.css.sac.DocumentHandler
org.w3c.css.sac.CSSException
public void endPage(String name, String pseudo_page) throws org.w3c.css.sac.CSSException
endPage
in interface org.w3c.css.sac.DocumentHandler
org.w3c.css.sac.CSSException
public void startFontFace() throws org.w3c.css.sac.CSSException
startFontFace
in interface org.w3c.css.sac.DocumentHandler
org.w3c.css.sac.CSSException
public void endFontFace() throws org.w3c.css.sac.CSSException
endFontFace
in interface org.w3c.css.sac.DocumentHandler
org.w3c.css.sac.CSSException
public void startSelector(org.w3c.css.sac.SelectorList selectors) throws org.w3c.css.sac.CSSException
startSelector
in interface org.w3c.css.sac.DocumentHandler
org.w3c.css.sac.CSSException
public void endSelector(org.w3c.css.sac.SelectorList selectors) throws org.w3c.css.sac.CSSException
endSelector
in interface org.w3c.css.sac.DocumentHandler
org.w3c.css.sac.CSSException
public 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.DocumentHandler
org.w3c.css.sac.CSSException
public void charset(String characterEncoding) throws org.w3c.css.sac.CSSException
DocumentHandlerExt
charset
in interface DocumentHandlerExt
characterEncoding
- 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.ErrorHandler
org.w3c.css.sac.CSSException
public void error(org.w3c.css.sac.CSSParseException exception) throws org.w3c.css.sac.CSSException
error
in interface org.w3c.css.sac.ErrorHandler
org.w3c.css.sac.CSSException
public void fatalError(org.w3c.css.sac.CSSParseException exception) throws org.w3c.css.sac.CSSException
fatalError
in interface org.w3c.css.sac.ErrorHandler
org.w3c.css.sac.CSSException
Copyright © 2014. All rights reserved.