commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mart...@apache.org
Subject svn commit: r159443 - jakarta/commons/proper/chain/trunk/xdocs/cookbook.xml
Date Tue, 29 Mar 2005 22:59:39 GMT
Author: martinc
Date: Tue Mar 29 14:59:38 2005
New Revision: 159443

URL: http://svn.apache.org/viewcvs?view=rev&rev=159443
Log:
Fix references to <chains> to be <catalog> instead.

Modified:
    jakarta/commons/proper/chain/trunk/xdocs/cookbook.xml

Modified: jakarta/commons/proper/chain/trunk/xdocs/cookbook.xml
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/chain/trunk/xdocs/cookbook.xml?view=diff&r1=159442&r2=159443
==============================================================================
--- jakarta/commons/proper/chain/trunk/xdocs/cookbook.xml (original)
+++ jakarta/commons/proper/chain/trunk/xdocs/cookbook.xml Tue Mar 29 14:59:38 2005
@@ -686,14 +686,14 @@
         document).</title>
 
         <p><source><![CDATA[<?xml version="1.0" ?>
-<chains>
+<catalog>
   <command 
     name="LocaleChange" 
     className="org.apache.commons.chain.mailreader.commands.LocaleChange"/>
   <command 
     name="LogonUser" 
     className="org.apache.commons.chain.mailreader.commands.LogonUser"/>
-</chains>]]></source></p>
+</catalog>]]></source></p>
       </example>The application needs to know the name given to a Command we
     want to execute, but it does not need to know the classname of the
     Command. The Command could also be a <code>Chain</code> of
@@ -707,7 +707,7 @@
         <title>A Catalog can be refactored with zero-changes to the
         application code.</title>
 
-        <p><source><![CDATA[<chains>
+        <p><source><![CDATA[<catalog>
   <chain name="LocaleChange">
     <command 
       className="org.apache.commons.chain.mailreader.commands.ProfileCheck"/>
@@ -717,7 +717,7 @@
   <command 
     name="LogonUser" 
     className="org.apache.commons.chain.mailreader.commands.LogonUser"/>
-</chains>]]></source></p>
+</catalog>]]></source></p>
       </example></p>
 
     <p>In the "Create a Command" recipe, we use a factory method to create
@@ -910,11 +910,11 @@
 
         <p><source><![CDATA[<!-- catalog.xml -->
 <?xml version="1.0" ?>
-<chains>
+<catalog>
     <command
         name="<em>LocaleChange</em>"
         className="org.apache.commons.chain.mailreader.commands.LocaleChange" />
-</chains>
+</catalog>
 
 <!-- validation.xml -->
 <?xml version="1.0" ?>



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message