Class DefaultDocumentHandler
java.lang.Object
org.apache.batik.css.parser.DefaultDocumentHandler
- All Implemented Interfaces:
org.w3c.css.sac.DocumentHandler
This class provides a default implementation of the SAC DocumentHandler.
- Version:
- $Id$
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.w3c.css.sac.DocumentHandlerThe instance of this class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new DefaultDocumentHandler. -
Method Summary
Modifier and TypeMethodDescriptionvoidSAC: ImplementsDocumentHandler.comment(String).voidendDocument(org.w3c.css.sac.InputSource source) SAC: ImplementsDocumentHandler.endDocument(InputSource).voidSAC: ImplementsDocumentHandler.endFontFace().voidendMedia(org.w3c.css.sac.SACMediaList media) SAC: ImplementsDocumentHandler.endMedia(SACMediaList).voidSAC: ImplementsDocumentHandler.endPage(String,String).voidendSelector(org.w3c.css.sac.SelectorList selectors) SAC: ImplementsDocumentHandler.endSelector(SelectorList).voidignorableAtRule(String atRule) SAC: ImplementsDocumentHandler.ignorableAtRule(String).voidimportStyle(String uri, org.w3c.css.sac.SACMediaList media, String defaultNamespaceURI) SAC: ImplementsDocumentHandler.importStyle(String,SACMediaList,String).voidnamespaceDeclaration(String prefix, String uri) SAC: ImplementsDocumentHandler.namespaceDeclaration(String,String).voidSAC: ImplementsDocumentHandler.property(String,LexicalUnit,boolean).voidstartDocument(org.w3c.css.sac.InputSource source) SAC: ImplementsDocumentHandler.startDocument(InputSource).voidSAC: ImplementsDocumentHandler.startFontFace().voidstartMedia(org.w3c.css.sac.SACMediaList media) SAC: ImplementsDocumentHandler.startMedia(SACMediaList).voidSAC: ImplementsDocumentHandler.startPage(String,String).voidstartSelector(org.w3c.css.sac.SelectorList selectors) SAC: ImplementsDocumentHandler.startSelector(SelectorList).
-
Field Details
-
INSTANCE
public static final org.w3c.css.sac.DocumentHandler INSTANCEThe instance of this class.
-
-
Constructor Details
-
DefaultDocumentHandler
protected DefaultDocumentHandler()Creates a new DefaultDocumentHandler.
-
-
Method Details
-
startDocument
public void startDocument(org.w3c.css.sac.InputSource source) throws org.w3c.css.sac.CSSException SAC: ImplementsDocumentHandler.startDocument(InputSource).- Specified by:
startDocumentin interfaceorg.w3c.css.sac.DocumentHandler- Throws:
org.w3c.css.sac.CSSException
-
endDocument
public void endDocument(org.w3c.css.sac.InputSource source) throws org.w3c.css.sac.CSSException SAC: ImplementsDocumentHandler.endDocument(InputSource).- Specified by:
endDocumentin interfaceorg.w3c.css.sac.DocumentHandler- Throws:
org.w3c.css.sac.CSSException
-
comment
SAC: ImplementsDocumentHandler.comment(String).- Specified by:
commentin interfaceorg.w3c.css.sac.DocumentHandler- Throws:
org.w3c.css.sac.CSSException
-
ignorableAtRule
SAC: ImplementsDocumentHandler.ignorableAtRule(String).- Specified by:
ignorableAtRulein interfaceorg.w3c.css.sac.DocumentHandler- Throws:
org.w3c.css.sac.CSSException
-
namespaceDeclaration
-
importStyle
public void importStyle(String uri, org.w3c.css.sac.SACMediaList media, String defaultNamespaceURI) throws org.w3c.css.sac.CSSException SAC: ImplementsDocumentHandler.importStyle(String,SACMediaList,String).- Specified by:
importStylein interfaceorg.w3c.css.sac.DocumentHandler- Throws:
org.w3c.css.sac.CSSException
-
startMedia
public void startMedia(org.w3c.css.sac.SACMediaList media) throws org.w3c.css.sac.CSSException SAC: ImplementsDocumentHandler.startMedia(SACMediaList).- Specified by:
startMediain interfaceorg.w3c.css.sac.DocumentHandler- Throws:
org.w3c.css.sac.CSSException
-
endMedia
public void endMedia(org.w3c.css.sac.SACMediaList media) throws org.w3c.css.sac.CSSException SAC: ImplementsDocumentHandler.endMedia(SACMediaList).- Specified by:
endMediain interfaceorg.w3c.css.sac.DocumentHandler- Throws:
org.w3c.css.sac.CSSException
-
startPage
-
endPage
-
startFontFace
public void startFontFace() throws org.w3c.css.sac.CSSExceptionSAC: ImplementsDocumentHandler.startFontFace().- Specified by:
startFontFacein interfaceorg.w3c.css.sac.DocumentHandler- Throws:
org.w3c.css.sac.CSSException
-
endFontFace
public void endFontFace() throws org.w3c.css.sac.CSSExceptionSAC: ImplementsDocumentHandler.endFontFace().- Specified by:
endFontFacein interfaceorg.w3c.css.sac.DocumentHandler- Throws:
org.w3c.css.sac.CSSException
-
startSelector
public void startSelector(org.w3c.css.sac.SelectorList selectors) throws org.w3c.css.sac.CSSException SAC: ImplementsDocumentHandler.startSelector(SelectorList).- Specified by:
startSelectorin interfaceorg.w3c.css.sac.DocumentHandler- Throws:
org.w3c.css.sac.CSSException
-
endSelector
public void endSelector(org.w3c.css.sac.SelectorList selectors) throws org.w3c.css.sac.CSSException SAC: ImplementsDocumentHandler.endSelector(SelectorList).- Specified by:
endSelectorin interfaceorg.w3c.css.sac.DocumentHandler- Throws:
org.w3c.css.sac.CSSException
-
property
public void property(String name, org.w3c.css.sac.LexicalUnit value, boolean important) throws org.w3c.css.sac.CSSException SAC: ImplementsDocumentHandler.property(String,LexicalUnit,boolean).- Specified by:
propertyin interfaceorg.w3c.css.sac.DocumentHandler- Throws:
org.w3c.css.sac.CSSException
-