org.apache.cocoon.generation
Interface Generator

All Superinterfaces:
SitemapModelComponent, XMLProducer

public interface Generator
extends XMLProducer, SitemapModelComponent

A generator is the starting point of a pipeline. It "generates" XML and starts streaming them into the pipeline.

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

Field Summary
static String ROLE
           
 
Method Summary
 void generate()
          Generate the XML and stream it into the pipeline
 
Methods inherited from interface org.apache.cocoon.xml.XMLProducer
setConsumer
 
Methods inherited from interface org.apache.cocoon.sitemap.SitemapModelComponent
setup
 

Field Detail

ROLE

public static final String ROLE
Method Detail

generate

public void generate()
              throws IOException,
                     SAXException,
                     ProcessingException
Generate the XML and stream it into the pipeline

Throws:
IOException
SAXException
ProcessingException


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