org.apache.cocoon.sitemap
Interface ContentAggregator

All Superinterfaces:
org.apache.cocoon.generation.Generator, org.apache.cocoon.sitemap.SitemapModelComponent, org.apache.cocoon.xml.XMLProducer

public interface ContentAggregator
extends org.apache.cocoon.generation.Generator

A content aggregator is a special generator used to implement <map:aggregate>. It combines several parts into one big XML document which is streamed into the pipeline.

Version:
$Id: ContentAggregator.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Field Summary
 
Fields inherited from interface org.apache.cocoon.generation.Generator
ROLE
 
Method Summary
 void addPart(String uri, String element, String namespace, String stripRootElement, String prefix)
          Add a part.
 void setRootElement(String element, String namespace, String prefix)
          Set the root element.
 
Methods inherited from interface org.apache.cocoon.generation.Generator
generate
 
Methods inherited from interface org.apache.cocoon.xml.XMLProducer
setConsumer
 
Methods inherited from interface org.apache.cocoon.sitemap.SitemapModelComponent
setup
 

Method Detail

setRootElement

public void setRootElement(String element,
                           String namespace,
                           String prefix)
Set the root element. Please make sure that the parameters are not null!


addPart

public void addPart(String uri,
                    String element,
                    String namespace,
                    String stripRootElement,
                    String prefix)
Add a part. Please make sure that the parameters are not null!



Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.