Modification of cssparser 0.9.4 to allow vendor-specific extensions, for purposes of the Flying Saucer xhtmlrenderer
Original cssparser may be obtained from http://cssparser.sourceforge.net/
See also the W3C recommendation and the SAC (Simple API for CSS) version 1.2
changes.html - A record of significant changes between releases license.html - LGPL document readme.html - This file classes in org and com folders samples/ - Some demonstration applications src/ - Source code for Parser, W3C DOM, and W3C SAC interfaces stylesheets/ - Collection of test style sheets
To compile the source, you'll need:
The Javadoc documentation for the CSS2 Parser can be found in the javadoc directory.
Refer to the Document Object Model Level 2 Style Recommendation for details of the DOM interfaces.
Refer to the SAC: The Simple API for CSS home page for details of the SAC interfaces.
public CSS2Parser( java.io.InputStream stream, org.w3c.dom.Node ownerNode, String href, String title, String media ) public CSS2Parser( java.io.Reader stream, org.w3c.dom.Node ownerNode, String href, String title, String media ) public CSS2Parser( java.io.InputStream stream ) public CSS2Parser( java.io.Reader stream )
com.steadystate.css.CSS2Parser parser = new com.steadystate.css.CSS2Parser( new java.io.FileInputStream( href ), node, href, title, media ); org.w3c.dom.css.CSSStyleSheet styleSheet = parser.styleSheet();
media
attribute of interface StyleSheet
is
not implementedparentRule
attribute of interface CSSRule
is
not implementedImportRule
doesn't import a style sheetCSSPrimitiveValue
is not
implemented
Copyright � 1999, 2002 Steady State Software Limited
Trademarks