|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.steadystate.css.parser.HandlerBase
public class HandlerBase
Empty implementation of the DocumentHandlerExt interface.
Constructor Summary | |
---|---|
HandlerBase()
|
Method Summary | |
---|---|
void |
charset(String characterEncoding,
org.w3c.css.sac.Locator locator)
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 pseudoPage)
|
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 |
ignorableAtRule(String atRule,
org.w3c.css.sac.Locator locator)
Receive notification of an unknown rule t-rule not supported by this parser. |
void |
importStyle(String uri,
org.w3c.css.sac.SACMediaList media,
String defaultNamespaceURI)
|
void |
importStyle(String uri,
org.w3c.css.sac.SACMediaList media,
String defaultNamespaceURI,
org.w3c.css.sac.Locator locator)
Receive notification of a import statement in the style sheet. |
void |
namespaceDeclaration(String prefix,
String uri)
|
void |
property(String name,
org.w3c.css.sac.LexicalUnit value,
boolean important)
|
void |
property(String name,
org.w3c.css.sac.LexicalUnit value,
boolean important,
org.w3c.css.sac.Locator locator)
Receive notification of a declaration. |
void |
startDocument(org.w3c.css.sac.InputSource source)
|
void |
startFontFace()
|
void |
startFontFace(org.w3c.css.sac.Locator locator)
Receive notification of the beginning of a font face statement. |
void |
startMedia(org.w3c.css.sac.SACMediaList media)
|
void |
startMedia(org.w3c.css.sac.SACMediaList media,
org.w3c.css.sac.Locator locator)
Receive notification of the beginning of a media statement. |
void |
startPage(String name,
String pseudoPage)
|
void |
startPage(String name,
String pseudoPage,
org.w3c.css.sac.Locator locator)
Receive notification of the beginning of a page statement. |
void |
startSelector(org.w3c.css.sac.SelectorList selectors)
|
void |
startSelector(org.w3c.css.sac.SelectorList selectors,
org.w3c.css.sac.Locator locator)
Receive notification of the beginning of a rule statement. |
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 |
Constructor Detail |
---|
public HandlerBase()
Method Detail |
---|
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 ignorableAtRule(String atRule, org.w3c.css.sac.Locator locator) throws org.w3c.css.sac.CSSException
DocumentHandlerExt
ignorableAtRule
in interface DocumentHandlerExt
atRule
- The complete ignored at-rule.locator
- the SAC locator
org.w3c.css.sac.CSSException
- Any CSS exception, possibly wrapping another
exception.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 importStyle(String uri, org.w3c.css.sac.SACMediaList media, String defaultNamespaceURI, org.w3c.css.sac.Locator locator) throws org.w3c.css.sac.CSSException
DocumentHandlerExt
importStyle
in interface DocumentHandlerExt
uri
- The URI of the imported style sheet.media
- The intended destination media for style information.defaultNamespaceURI
- The default namespace URI for the imported
style sheet.locator
- the SAC locator
org.w3c.css.sac.CSSException
- Any CSS exception, possibly wrapping another
exception.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 startMedia(org.w3c.css.sac.SACMediaList media, org.w3c.css.sac.Locator locator) throws org.w3c.css.sac.CSSException
DocumentHandlerExt
startMedia
in interface DocumentHandlerExt
media
- The intended destination media for style information.locator
- the SAC locator
org.w3c.css.sac.CSSException
- Any CSS exception, possibly wrapping another
exception.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 pseudoPage) throws org.w3c.css.sac.CSSException
startPage
in interface org.w3c.css.sac.DocumentHandler
org.w3c.css.sac.CSSException
public void startPage(String name, String pseudoPage, org.w3c.css.sac.Locator locator) throws org.w3c.css.sac.CSSException
DocumentHandlerExt
startPage
in interface DocumentHandlerExt
name
- the name of the page (if any, null otherwise)pseudoPage
- the pseudo page (if any, null otherwise)locator
- the SAC locator
org.w3c.css.sac.CSSException
- Any CSS exception, possibly wrapping another
exception.public void endPage(String name, String pseudoPage) 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 startFontFace(org.w3c.css.sac.Locator locator) throws org.w3c.css.sac.CSSException
DocumentHandlerExt
startFontFace
in interface DocumentHandlerExt
locator
- the SAC locator
org.w3c.css.sac.CSSException
- Any CSS exception, possibly wrapping another
exception.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 startSelector(org.w3c.css.sac.SelectorList selectors, org.w3c.css.sac.Locator locator) throws org.w3c.css.sac.CSSException
DocumentHandlerExt
startSelector
in interface DocumentHandlerExt
selectors
- All intended selectors for all declarations.locator
- the SAC locator
org.w3c.css.sac.CSSException
- Any CSS exception, possibly wrapping another
exception.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 property(String name, org.w3c.css.sac.LexicalUnit value, boolean important, org.w3c.css.sac.Locator locator)
DocumentHandlerExt
property
in interface DocumentHandlerExt
name
- the name of the property.value
- the value of the property. All whitespace are stripped.important
- is this property important ?locator
- the SAC locatorpublic void charset(String characterEncoding, org.w3c.css.sac.Locator locator) throws org.w3c.css.sac.CSSException
DocumentHandlerExt
charset
in interface DocumentHandlerExt
characterEncoding
- the character encodinglocator
- the SAC locator
org.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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |