|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Object | +--org.apache.batik.css.parser.DefaultDocumentHandler
This class provides a default implementation of the SAC DocumentHandler.
| Field Summary | |
|---|---|
static DocumentHandler |
INSTANCE
The instance of this class. |
| Constructor Summary | |
|---|---|
protected |
DefaultDocumentHandler()
Creates a new DefaultDocumentHandler. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final DocumentHandler INSTANCE
| Constructor Detail |
protected DefaultDocumentHandler()
| Method Detail |
public void startDocument(InputSource source)
throws CSSException
DocumentHandler.startDocument(InputSource).
startDocument in interface DocumentHandlerCSSException - Any CSS exception, possibly wrapping another
exception.
public void endDocument(InputSource source)
throws CSSException
DocumentHandler.endDocument(InputSource).
endDocument in interface DocumentHandlerCSSException - Any CSS exception, possibly wrapping another
exception.
public void comment(java.lang.String text)
throws CSSException
DocumentHandler.comment(String).
comment in interface DocumentHandlertext - The comment.
CSSException - Any CSS exception, possibly wrapping another
exception.
public void ignorableAtRule(java.lang.String atRule)
throws CSSException
DocumentHandler.ignorableAtRule(String).
ignorableAtRule in interface DocumentHandlerCSSException - Any CSS exception, possibly wrapping another
exception.
public void namespaceDeclaration(java.lang.String prefix,
java.lang.String uri)
throws CSSException
DocumentHandler.namespaceDeclaration(String,String).
namespaceDeclaration in interface DocumentHandlerprefix - null if this is the default namespaceuri - The URI for this namespace.
CSSException - Any CSS exception, possibly wrapping another
exception.
public void importStyle(java.lang.String uri,
SACMediaList media,
java.lang.String defaultNamespaceURI)
throws CSSException
DocumentHandler.importStyle(String,SACMediaList,String).
importStyle in interface DocumentHandleruri - The URI of the imported style sheet.media - The intended destination media for style information.
CSSException - Any CSS exception, possibly wrapping another
exception.
public void startMedia(SACMediaList media)
throws CSSException
DocumentHandler.startMedia(SACMediaList).
startMedia in interface DocumentHandlermedia - The intended destination media for style information.
CSSException - Any CSS exception, possibly wrapping another
exception.
public void endMedia(SACMediaList media)
throws CSSException
DocumentHandler.endMedia(SACMediaList).
endMedia in interface DocumentHandlermedia - The intended destination media for style information.
CSSException - Any CSS exception, possibly wrapping another
exception.
public void startPage(java.lang.String name,
java.lang.String pseudo_page)
throws CSSException
DocumentHandler.startPage(String,String).
startPage in interface DocumentHandlername - the name of the page (if any, null otherwise)pseudo_page - the pseudo page (if any, null otherwise)
CSSException - Any CSS exception, possibly wrapping another
exception.
public void endPage(java.lang.String name,
java.lang.String pseudo_page)
throws CSSException
DocumentHandler.endPage(String,String).
endPage in interface DocumentHandlerpseudo_page - the pseudo page (if any, null otherwise)
CSSException - Any CSS exception, possibly wrapping another
exception.
public void startFontFace()
throws CSSException
DocumentHandler.startFontFace().
startFontFace in interface DocumentHandlerCSSException - Any CSS exception, possibly wrapping another
exception.
public void endFontFace()
throws CSSException
DocumentHandler.endFontFace().
endFontFace in interface DocumentHandlerCSSException - Any CSS exception, possibly wrapping another
exception.
public void startSelector(SelectorList selectors)
throws CSSException
DocumentHandler.startSelector(SelectorList).
startSelector in interface DocumentHandlerselectors - All intended selectors for all declarations.
CSSException - Any CSS exception, possibly wrapping another
exception.
public void endSelector(SelectorList selectors)
throws CSSException
DocumentHandler.endSelector(SelectorList).
endSelector in interface DocumentHandlerselectors - All intended selectors for all declarations.
CSSException - Any CSS exception, possibly wrapping another
exception.
public void property(java.lang.String name,
LexicalUnit value,
boolean important)
throws CSSException
DocumentHandler.property(String,LexicalUnit,boolean).
property in interface DocumentHandlername - the name of the property.value - the value of the property. All whitespace are stripped.important - is this property important ?
CSSException - Any CSS exception, possibly wrapping another
exception.
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||