com.steadystate.css.parser
Class ParseTester
java.lang.Object
com.steadystate.css.parser.HandlerBase
com.steadystate.css.parser.ParseTester
- All Implemented Interfaces:
- DocumentHandlerExt, DocumentHandler, ErrorHandler
public class ParseTester
- extends HandlerBase
- Version:
- $Id: ParseTester.java,v 1.1 2008/03/26 02:18:51 sdanig Exp $
- Author:
- David Schweinsberg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParseTester
public ParseTester()
main
public static void main(String[] args)
testParsing
public void testParsing()
startDocument
public void startDocument(InputSource source)
throws CSSException
- Specified by:
startDocument
in interface DocumentHandler
- Overrides:
startDocument
in class HandlerBase
- Throws:
CSSException
endDocument
public void endDocument(InputSource source)
throws CSSException
- Specified by:
endDocument
in interface DocumentHandler
- Overrides:
endDocument
in class HandlerBase
- Throws:
CSSException
comment
public void comment(String text)
throws CSSException
- Specified by:
comment
in interface DocumentHandler
- Overrides:
comment
in class HandlerBase
- Throws:
CSSException
ignorableAtRule
public void ignorableAtRule(String atRule)
throws CSSException
- Specified by:
ignorableAtRule
in interface DocumentHandler
- Overrides:
ignorableAtRule
in class HandlerBase
- Throws:
CSSException
namespaceDeclaration
public void namespaceDeclaration(String prefix,
String uri)
throws CSSException
- Specified by:
namespaceDeclaration
in interface DocumentHandler
- Overrides:
namespaceDeclaration
in class HandlerBase
- Throws:
CSSException
importStyle
public void importStyle(String uri,
SACMediaList media,
String defaultNamespaceURI)
throws CSSException
- Specified by:
importStyle
in interface DocumentHandler
- Overrides:
importStyle
in class HandlerBase
- Throws:
CSSException
startMedia
public void startMedia(SACMediaList media)
throws CSSException
- Specified by:
startMedia
in interface DocumentHandler
- Overrides:
startMedia
in class HandlerBase
- Throws:
CSSException
endMedia
public void endMedia(SACMediaList media)
throws CSSException
- Specified by:
endMedia
in interface DocumentHandler
- Overrides:
endMedia
in class HandlerBase
- Throws:
CSSException
startPage
public void startPage(String name,
String pseudo_page)
throws CSSException
- Specified by:
startPage
in interface DocumentHandler
- Overrides:
startPage
in class HandlerBase
- Throws:
CSSException
endPage
public void endPage(String name,
String pseudo_page)
throws CSSException
- Specified by:
endPage
in interface DocumentHandler
- Overrides:
endPage
in class HandlerBase
- Throws:
CSSException
startFontFace
public void startFontFace()
throws CSSException
- Specified by:
startFontFace
in interface DocumentHandler
- Overrides:
startFontFace
in class HandlerBase
- Throws:
CSSException
endFontFace
public void endFontFace()
throws CSSException
- Specified by:
endFontFace
in interface DocumentHandler
- Overrides:
endFontFace
in class HandlerBase
- Throws:
CSSException
startSelector
public void startSelector(SelectorList selectors)
throws CSSException
- Specified by:
startSelector
in interface DocumentHandler
- Overrides:
startSelector
in class HandlerBase
- Throws:
CSSException
endSelector
public void endSelector(SelectorList selectors)
throws CSSException
- Specified by:
endSelector
in interface DocumentHandler
- Overrides:
endSelector
in class HandlerBase
- Throws:
CSSException
property
public void property(String name,
LexicalUnit value,
boolean important)
throws CSSException
- Specified by:
property
in interface DocumentHandler
- Overrides:
property
in class HandlerBase
- Throws:
CSSException
Copyright © 2011. All Rights Reserved.