cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From je...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/linkrewriter/java/org/apache/cocoon/transformation LinkRewriterTransformer.java
Date Tue, 13 May 2003 11:13:00 GMT
jefft       2003/05/13 04:13:00

  Modified:    src/blocks/linkrewriter/java/org/apache/cocoon/transformation
                        LinkRewriterTransformer.java
  Log:
  Update javadocs to reflect that dynamic config now uses the same syntax as static
  
  Revision  Changes    Path
  1.6       +13 -8     cocoon-2.1/src/blocks/linkrewriter/java/org/apache/cocoon/transformation/LinkRewriterTransformer.java
  
  Index: LinkRewriterTransformer.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/linkrewriter/java/org/apache/cocoon/transformation/LinkRewriterTransformer.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- LinkRewriterTransformer.java	3 May 2003 11:22:55 -0000	1.5
  +++ LinkRewriterTransformer.java	13 May 2003 11:13:00 -0000	1.6
  @@ -99,9 +99,13 @@
    * <pre>
    *  &lt;map:transformer name="linkrewriter"
    *    src="org.apache.cocoon.transformation.LinkRewriterTransformer">
  - *    &lt;input-module name="site" src="cocoon://samples/link/linkmap" reloadable="true"/>
  + *    &lt;input-module name="site">
  + *      &lt;file src="cocoon://samples/link/linkmap" reloadable="true"/>
  + *    &lt;/input-module>
    *    &lt;input-module name="mapper">
  - *      &lt;input-module name="site" src="{src}" reloadable="true"/>
  + *      &lt;input-module name="site">
  + *        &lt;file src="{src}" reloadable="true"/>
  + *      &lt;/input-module>
    *      &lt;prefix>/site/&lt;/prefix>
    *      &lt;suffix>/@href&lt;/suffix>
    *    &lt;/input-module>
  @@ -111,11 +115,9 @@
    * 'site' (an {@link org.apache.cocoon.components.modules.input.XMLFileModule}
    * and 'mapper' (A {@link
    * org.apache.cocoon.components.modules.input.SimpleMappingMetaModule}.  All
  - * other InputModules will use their static configs.  Note that the dynamic
  - * config syntax different to the static config syntax (attributes instead of
  - * elements).  Note also that, when configuring a Meta InputModule like
  - * 'mapper', we need to also configure the 'inner' module (here, 'site') with a
  - * nested &lt;input-module>.
  + * other InputModules will use their static configs.  Note that, when
  + * configuring a Meta InputModule like 'mapper', we need to also configure the
  + * 'inner' module (here, 'site') with a nested &lt;input-module>.
    * <p>
    * There is one further twist; to have <em>really</em> dynamic configuration,
    * we need information available only when the transformer actually runs.  This
  @@ -147,6 +149,9 @@
    *   &lt;map:parameter name="prefix" value="/site/"/>
    * </pre>
    * in the map:transform
  + * <p>
  + * A live example of LinkRewriterTransformer can be found in the <a
  + * href="http://xml.apache.org/forrest/">Apache Forrest</a> sitemap.
    * <p>
    *
    * <h3>Configuration</h3>
  
  
  

Mime
View raw message