org.apache.cocoon.generation
Interface Generator

All Superinterfaces:
Component, SitemapModelComponent, XMLProducer
All Known Implementing Classes:
AbstractCopletGenerator, AbstractGenerator, AbstractServerPage, AsciiArtSVGGenerator, BasketContentGenerator, BasketGenerator, CalendarGenerator, ComposerGenerator, ConfigurationGenerator, ConfigurationGenerator, ContentAggregator, CSVGenerator, DirectoryGenerator, EventAwareGenerator, EventCacheGenerator, ExceptionGenerator, FileGenerator, FormsGenerator, FragmentExtractorGenerator, GenericProxyGenerator, HSSFGenerator, HTMLGenerator, HttpProxyGenerator, I18nCatalogueGenerator, ImageDirectoryGenerator, IMAPGenerator, JSGenerator, JSPGenerator, JXTemplateGenerator, JXTemplateGenerator, LinkStatusGenerator, MP3DirectoryGenerator, NekoHTMLGenerator, NotifyingGenerator, ParseExceptionGenerator, PhpGenerator, PortalGenerator, PortalGenerator, ProfilerGenerator, PythonGenerator, RequestGenerator, ScriptGenerator, SearchGenerator, ServerPagesGenerator, ServiceableGenerator, ServletGenerator, SessionAttributeGenerator, SlopGenerator, StatisticsGenerator, StatusGenerator, StreamGenerator, SuggestionListGenerator, SWFGenerator, TextGenerator, TraversableGenerator, TraversableSourceDescriptionGenerator, VelocityGenerator, WebServiceProxyGenerator, WoodyGenerator, XMidiGenerator, XMLDBCollectionGenerator, XMLDBGenerator, XMLProfileGenerator, XPathDirectoryGenerator, XPathTraversableGenerator, XSPGenerator

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:
CVS $Id: Generator.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Pierpaolo Fumagalli (Apache Software Foundation)

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

static final String ROLE
Method Detail

generate

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

Throws:
IOException
SAXException
ProcessingException


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