Read Me
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.steadystate.com/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta name="expires" content="0" />
<meta name="description" content="Steady State CSS2 Parser readme document" />
<title>Steady State CSS2 Parser README</title>
<link rel="stylesheet" type="text/css" href="primary.css" />
</head>
<body>
<p class="nav">
<a class="nav" href="http://www.steadystate.com/"><strong>SteadyState</strong></a> |
<a class="nav" href="http://www.steadystate.com/news.html">News</a> |
<a class="nav" href="http://www.steadystate.com/products.html">Products</a> |
<a class="nav" href="http://www.steadystate.com/download/index.html">Download</a> |
<a class="nav" href="http://www.steadystate.com/access.html">Accessibility</a> |
<a class="nav" href="http://www.steadystate.com/about.html">About</a>
</p>
<h1>CSS2 Parser README</h1>
<h2>What's New</h2>
<h3>Release 0.9.1</h3>
<ul>
<li>Updated the CSSOM to comply with the <a href="http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113">W3C recommendation</a></li>
<li>Converted the CSSOM to be implemented on top of the SAC</li>
<li>Implemented the <a href="http://www.w3.org/Style/CSS/SAC">SAC (Simple API for CSS)</a> version 1.2</li>
<li>The CSSOM is now <em>Serializable</em></li>
</ul>
<h2>What's Included</h2>
<pre>
primary.css - Steady State Web style sheet
changes.html - A record of significant changes between releases
license.html - LGPL document
readme.html - This file
ss_css2.jar - JAR containing the CSS2 Parser
docs/ - Comceptual documentation for CSS2 Parser (currently empty)
javadoc/ - Javadoc documentation for CSS2 Parser classes
samples/ - Some demonstration applications
src/ - Source code for Parser, W3C DOM, and W3C SAC interfaces
stylesheets/ - Collection of test style sheets
</pre>
<h2>What's Required</h2>
<p>To compile the source, you'll need:</p>
<ul>
<li>The <a href="http://www.webgain.com/products/java_cc/">Java Compiler Compiler (JavaCC)</a>
from <a href="http://www.webgain.com/">Webgain</a></li>
</ul>
<h2>Documentation</h2>
<p>The Javadoc documentation for the <em>CSS2 Parser</em> can be found in
the javadoc directory.</p>
<p>Refer to the
<a href="http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113">Document Object Model Level
2 Style Recommendation</a> for details of the DOM interfaces.</p>
<p>Refer to the <a href="http://www.w3.org/Style/CSS/SAC/">SAC: The Simple API for CSS</a> home
page for details of the SAC interfaces.</p>
<h2>How to Use</h2>
<h3>Constructors</h3>
<pre>
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 )
</pre>
<h3>Example of usage</h3>
<pre>
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();
</pre>
<h2>Some Current Limitations</h2>
<ul>
<li>The <code>media</code> attribute of interface <code>StyleSheet</code> is
not implemented</LI>
<li>The <code>parentRule</code> attribute of interface <code>CSSRule</code> is
not implemented</li>
<li><code>ImportRule</code> doesn't import a style sheet</li>
<li>Conversion between units of <code>CSSPrimitiveValue</code> is not
implemented</li>
</ul>
<hr />
<p class="legal">
Copyright © 1999, 2002 Steady State Software Limited<br />
<a href="http://www.steadystate.com/trademarks.html">Trademarks</a>
</p>
<hr />
<address>
<a href="mailto:david@steadystate.co.uk">David Schweinsberg</a><br />
17th February 2002
</address>
</body>
</html>
×
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.