CSS4J provides a CSS object model API for the Java™ platform, closely related to the CSSOM and DOM APIs.
- CSS4J basic usage.
- Embedding SVG in HTML documents.
- XML parsing in Java with
- The F.A.Q.
- Latest modular javadocs.
This software is released under a BSD-style license, although some individual files may have
a different one (see
NOTICE.txt in the distribution).
EchoSVG is a SVG implementation (fork of Batik) that uses the css4j NSAC parser.
Direct installation to local Maven repository
The CSS4J artifacts (together with a few dependencies not available from Maven Central like JCLF or a recent XMLPull-XPP3) can be installed directly to your local Maven repository by using these scripts:
install-xpp3.sh(1.2, optional dependency of css4j-dom4j).
The scripts execute Maven plugins: if you run them from a directory which has a
pom.xml file, you may experience problems or delays caused by Maven processing that file.
More information about using the library in a Gradle or Maven project is given at the usage guide.
Community - Support
There is a general forum that can be used for css4j support, and the development forum is intended for discussions about patches and APIs.
- Css4j general forum (Google Groups).
- Css4j development forum (Google Groups). If you have patches to contribute, either use Github or send them to this group.