You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: usage.html
+19-9Lines changed: 19 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -62,14 +62,20 @@ <h2>Modules</h2>
62
62
<li><ahref="https://github.com/css4j/css4j"><code>css4j</code></a> core module, which depends on the next two (they are included in the Zip distribution):</li>
63
63
<li><ahref="api/carte-util/3/"><code>carte-util</code></a>, a very small collection of interfaces and utility classes.</li>
64
64
<li><ahref="https://github.com/css4j/tokenproducer"><code>tokenproducer</code></a>, the low-level parser at the core of css4j.</li>
65
-
<li><ahref="https://github.com/css4j/css4j-agent"><code>css4j-agent</code></a>, a collection of agent-related classes that makes the processing of remote documents a bit easier.</li>
66
-
<li><ahref="https://github.com/css4j/css4j-awt"><code>css4j-awt</code></a>, a small set of <ahref="https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/package-summary.html">AWT</a>-related utility classes.</li>
67
-
<li><ahref="https://github.com/css4j/css4j-dom4j"><code>css4j-dom4j</code></a>: to use css4j together with dom4j.</li>
65
+
<li><ahref="https://github.com/css4j/css4j-agent"><code>css4j-agent</code></a>, an optional collection of agent-related classes that makes the processing of remote documents a bit easier.</li>
66
+
<li><ahref="https://github.com/css4j/css4j-awt"><code>css4j-awt</code></a>, a small set of <ahref="https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/package-summary.html">AWT</a>-related
67
+
utility classes (also optional).</li>
68
+
<li><ahref="https://github.com/css4j/css4j-dom4j"><code>css4j-dom4j</code></a>: to use css4j together with dom4j, if you prefer that API.</li>
68
69
<li><ahref="https://github.com/css4j/xml-dtd"><code>xml-dtd</code></a> is a small set of classes to aid in the processing of XML <ahref="https://en.wikipedia.org/wiki/Document_type_definition"
69
-
target="_blank">DTD</a>s, including the useful <aclass="codeitem" href="api/xml-dtd/3/io/sf/carte/doc/xml/dtd/DefaultEntityResolver.html"><code>DefaultEntityResolver</code></a>.</li>
70
+
target="_blank">DTD</a>s, including the useful <aclass="codeitem" href="api/xml-dtd/3/io/sf/carte/doc/xml/dtd/DefaultEntityResolver.html"><code>DefaultEntityResolver</code></a>. It is not needed if you do not process XML.</li>
70
71
</ul>
71
-
<p>If you use <ahref="https://gradle.org/" target="_blank">Gradle</a> or <ahref="https://maven.apache.org/" target="_blank">Apache Maven</a>,
72
-
you may want to look at each module's <code>build.gradle</code> files to check for the specific module dependencies.</p>
72
+
<p>In general, you'll need to have at least <code>css4j</code>, <code>carte-util</code> and <code>tokenproducer</code> in your classpath/modulepath.
73
+
If you use <ahref="https://gradle.org/" target="_blank">Gradle</a> or <ahref="https://maven.apache.org/" target="_blank">Apache Maven</a>, you may want to look at each module's
74
+
<code>build.gradle</code> files (or even better, the <ahref="https://css4j.github.io/maven/io/sf/carte/css4j-dom4j/3.6.0/css4j-dom4j-3.6.0.pom"><code>.pom</code></a>
75
+
or the <ahref="https://css4j.github.io/maven/io/sf/carte/css4j-dom4j/3.6.0/css4j-dom4j-3.6.0.module"><code>.module</code> files at the repository</a>) to check for the specific module dependencies.</p>
76
+
<p>Recent <code>css4j-*</code> artifacts are compatible with <code>css4j</code> releases that have the same major version number, for example <code>css4j-dom4j</code> 3.6.0 is compatible with
77
+
<code>css4j</code> 3.6.1 and will be compatible with the forthcoming 3.7.0 when it is released.</p>
78
+
73
79
<br/>
74
80
<h3class="subtema" id="gradle">Usage from a Gradle project</h3>
75
81
<p>
@@ -225,17 +231,21 @@ <h2>Examples with DOM4J</h2>
225
231
module. The -dom4j module optionally depends on the -agent module, so you do not need the latter unless you plan to use the DOM4J agent.</p>
0 commit comments