|
||||||||||||
| 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
|
+--org.apache.batik.css.engine.CSSEngine.StyleSheetDocumentHandler
To parse a style sheet.
| Field Summary | |
|---|---|
protected StyleDeclaration |
styleDeclaration
|
protected StyleRule |
styleRule
|
StyleSheet |
styleSheet
|
| Constructor Summary | |
|---|---|
protected |
CSSEngine.StyleSheetDocumentHandler()
|
| Methods inherited from class org.apache.batik.css.engine.CSSEngine.DocumentAdapter |
|---|
comment, namespaceDeclaration |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public StyleSheet styleSheet
protected StyleRule styleRule
protected StyleDeclaration styleDeclaration
| Constructor Detail |
protected CSSEngine.StyleSheetDocumentHandler()
| Method Detail |
public void startDocument(InputSource source)
throws CSSException
DocumentHandler.startDocument(InputSource).
startDocument in interface DocumentHandlerstartDocument in class CSSEngine.DocumentAdapterCSSException - Any CSS exception, possibly wrapping another
exception.
public void endDocument(InputSource source)
throws CSSException
DocumentHandler.endDocument(InputSource).
endDocument in interface DocumentHandlerendDocument in class CSSEngine.DocumentAdapterCSSException - Any CSS exception, possibly wrapping another
exception.
public void ignorableAtRule(java.lang.String atRule)
throws CSSException
DocumentHandler.ignorableAtRule(String).
ignorableAtRule in interface DocumentHandlerignorableAtRule in class CSSEngine.DocumentAdapterCSSException - 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 DocumentHandlerimportStyle in class CSSEngine.DocumentAdapteruri - 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 DocumentHandlerstartMedia in class CSSEngine.DocumentAdaptermedia - 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 DocumentHandlerendMedia in class CSSEngine.DocumentAdaptermedia - 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 DocumentHandlerstartPage in class CSSEngine.DocumentAdaptername - 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 DocumentHandlerendPage in class CSSEngine.DocumentAdapterpseudo_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 DocumentHandlerstartFontFace in class CSSEngine.DocumentAdapterCSSException - Any CSS exception, possibly wrapping another
exception.
public void endFontFace()
throws CSSException
DocumentHandler.endFontFace().
endFontFace in interface DocumentHandlerendFontFace in class CSSEngine.DocumentAdapterCSSException - Any CSS exception, possibly wrapping another
exception.
public void startSelector(SelectorList selectors)
throws CSSException
DocumentHandler.startSelector(SelectorList).
startSelector in interface DocumentHandlerstartSelector in class CSSEngine.DocumentAdapterselectors - 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 DocumentHandlerendSelector in class CSSEngine.DocumentAdapterselectors - 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 ShorthandManager.PropertyHandlerproperty in class CSSEngine.DocumentAdaptername - 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 | |||||||||||