cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sylv...@apache.org
Subject cvs commit: cocoon-2.1/src/java/org/apache/cocoon/components/pipeline AbstractProcessingPipeline.java
Date Fri, 31 Oct 2003 10:31:28 GMT
sylvain     2003/10/31 02:31:28

  Modified:    src/java/org/apache/cocoon/components/pipeline
                        AbstractProcessingPipeline.java
  Log:
  Finally, implement the fact that a serializer can be a SitemapModelComponent
  
  Revision  Changes    Path
  1.10      +11 -1     cocoon-2.1/src/java/org/apache/cocoon/components/pipeline/AbstractProcessingPipeline.java
  
  Index: AbstractProcessingPipeline.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/pipeline/AbstractProcessingPipeline.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- AbstractProcessingPipeline.java	29 Oct 2003 14:32:43 -0000	1.9
  +++ AbstractProcessingPipeline.java	31 Oct 2003 10:31:28 -0000	1.10
  @@ -68,6 +68,7 @@
   import org.apache.cocoon.generation.Generator;
   import org.apache.cocoon.reading.Reader;
   import org.apache.cocoon.serialization.Serializer;
  +import org.apache.cocoon.sitemap.SitemapModelComponent;
   import org.apache.cocoon.transformation.Transformer;
   import org.apache.cocoon.xml.XMLConsumer;
   import org.apache.cocoon.xml.XMLProducer;
  @@ -395,6 +396,15 @@
                               environment.getObjectModel(),
                               (String)transformerSourceItt.next(),
                               (Parameters)transformerParamItt.next()
  +                );
  +            }
  +
  +            if (this.serializer instanceof SitemapModelComponent) {
  +                ((SitemapModelComponent)this.serializer).setup(
  +                    environment,
  +                    environment.getObjectModel(),
  +                    this.serializerSource,
  +                    this.serializerParam
                   );
               }
   
  
  
  

Mime
View raw message