skitching 2004/04/18 00:28:36
Modified: digester/src/java/org/apache/commons/digester/plugins
package.html
Log:
Note that multiple declarations of a plugin are ok.
Revision Changes Path
1.5 +3 -6
jakarta-commons/digester/src/java/org/apache/commons/digester/plugins/package.html
Index: package.html
===================================================================
RCS file:
/home/cvs/jakarta-commons/digester/src/java/org/apache/commons/digester/plugins/package.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- package.html 14 Apr 2004 08:32:29 -0000 1.4
+++ package.html 18 Apr 2004 07:28:36 -0000 1.5
@@ -208,11 +208,8 @@
<h2> Other features </h2>
-Multiple identical plugin declarations are ignored. This is useful
-when using "external entity references" to compose an XML document from
-multiple xml documents; the components don't need to worry about
-redeclaring a plugin as long as they always map the same id to the
-same class.
+Multiple plugin declarations are permitted; the latest simply overrides
+earlier ones.
<p>
In situations where a user <i>might</i> want to specify a custom class,
but will often want "default" behaviour, a PluginCreateRule can specify
@@ -220,4 +217,4 @@
the matching xml element, an instance of the default class will be
created.
</body>
-</html>
\ No newline at end of file
+</html>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]