org.apache.batik.css.engine

Class CSSEngine.DocumentAdapter

protected static class CSSEngine.DocumentAdapter extends Object implements DocumentHandler

Provides an (empty) adapter for the DocumentHandler interface. Most methods just throw an UnsupportedOperationException, so the subclasses must override them with 'real' methods.
Method Summary
voidcomment(String text)
SAC: Implements {@link DocumentHandler#comment(String)}.
voidendDocument(InputSource source)
SAC: Implements {@link DocumentHandler#endDocument(InputSource)}.
voidendFontFace()
SAC: Implements {@link DocumentHandler#endFontFace()}.
voidendMedia(SACMediaList media)
SAC: Implements {@link DocumentHandler#endMedia(SACMediaList)}.
voidendPage(String name, String pseudo_page)
SAC: Implements {@link DocumentHandler#endPage(String,String)}.
voidendSelector(SelectorList selectors)
SAC: Implements {@link DocumentHandler#endSelector(SelectorList)}.
voidignorableAtRule(String atRule)
SAC: Implements {@link DocumentHandler#ignorableAtRule(String)}.
voidimportStyle(String uri, SACMediaList media, String defaultNamespaceURI)
SAC: Implements {@link DocumentHandler#importStyle(String,SACMediaList,String)}.
voidnamespaceDeclaration(String prefix, String uri)
SAC: Implements {@link DocumentHandler#namespaceDeclaration(String,String)}.
voidproperty(String name, LexicalUnit value, boolean important)
SAC: Implements {@link DocumentHandler#property(String,LexicalUnit,boolean)}.
voidstartDocument(InputSource source)
SAC: Implements {@link DocumentHandler#startDocument(InputSource)}.
voidstartFontFace()
SAC: Implements {@link DocumentHandler#startFontFace()}.
voidstartMedia(SACMediaList media)
SAC: Implements {@link DocumentHandler#startMedia(SACMediaList)}.
voidstartPage(String name, String pseudo_page)
SAC: Implements {@link DocumentHandler#startPage(String,String)}.
voidstartSelector(SelectorList selectors)
SAC: Implements {@link DocumentHandler#startSelector(SelectorList)}.

Method Detail

comment

public void comment(String text)
SAC: Implements {@link DocumentHandler#comment(String)}.

endDocument

public void endDocument(InputSource source)
SAC: Implements {@link DocumentHandler#endDocument(InputSource)}.

endFontFace

public void endFontFace()
SAC: Implements {@link DocumentHandler#endFontFace()}.

endMedia

public void endMedia(SACMediaList media)
SAC: Implements {@link DocumentHandler#endMedia(SACMediaList)}.

endPage

public void endPage(String name, String pseudo_page)
SAC: Implements {@link DocumentHandler#endPage(String,String)}.

endSelector

public void endSelector(SelectorList selectors)
SAC: Implements {@link DocumentHandler#endSelector(SelectorList)}.

ignorableAtRule

public void ignorableAtRule(String atRule)
SAC: Implements {@link DocumentHandler#ignorableAtRule(String)}.

importStyle

public void importStyle(String uri, SACMediaList media, String defaultNamespaceURI)
SAC: Implements {@link DocumentHandler#importStyle(String,SACMediaList,String)}.

namespaceDeclaration

public void namespaceDeclaration(String prefix, String uri)
SAC: Implements {@link DocumentHandler#namespaceDeclaration(String,String)}.

property

public void property(String name, LexicalUnit value, boolean important)
SAC: Implements {@link DocumentHandler#property(String,LexicalUnit,boolean)}.

startDocument

public void startDocument(InputSource source)
SAC: Implements {@link DocumentHandler#startDocument(InputSource)}.

startFontFace

public void startFontFace()
SAC: Implements {@link DocumentHandler#startFontFace()}.

startMedia

public void startMedia(SACMediaList media)
SAC: Implements {@link DocumentHandler#startMedia(SACMediaList)}.

startPage

public void startPage(String name, String pseudo_page)
SAC: Implements {@link DocumentHandler#startPage(String,String)}.

startSelector

public void startSelector(SelectorList selectors)
SAC: Implements {@link DocumentHandler#startSelector(SelectorList)}.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.