|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.batik.css.engine.CSSEngine.DocumentAdapter
Provides an adapter for the DocumentHandler interface.
Constructor Summary | |
protected |
CSSEngine.DocumentAdapter()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected CSSEngine.DocumentAdapter()
Method Detail |
public void startDocument(InputSource source) throws CSSException
DocumentHandler.startDocument(InputSource)
.
startDocument
in interface DocumentHandler
CSSException
- Any CSS exception, possibly wrapping another
exception.public void endDocument(InputSource source) throws CSSException
DocumentHandler.endDocument(InputSource)
.
endDocument
in interface DocumentHandler
CSSException
- Any CSS exception, possibly wrapping another
exception.public void comment(java.lang.String text) throws CSSException
DocumentHandler.comment(String)
.
comment
in interface DocumentHandler
text
- 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 DocumentHandler
CSSException
- 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 DocumentHandler
prefix
- 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 DocumentHandler
uri
- 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 DocumentHandler
media
- 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 DocumentHandler
media
- 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 DocumentHandler
name
- 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 DocumentHandler
pseudo_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 DocumentHandler
CSSException
- Any CSS exception, possibly wrapping another
exception.public void endFontFace() throws CSSException
DocumentHandler.endFontFace()
.
endFontFace
in interface DocumentHandler
CSSException
- Any CSS exception, possibly wrapping another
exception.public void startSelector(SelectorList selectors) throws CSSException
DocumentHandler.startSelector(SelectorList)
.
startSelector
in interface DocumentHandler
selectors
- 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 DocumentHandler
selectors
- 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 DocumentHandler
name
- 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 |