Generators in Cocoon

User Documentation


File Generator

Directory Generator
Fragment Extractor Generator
HTML Generator
Image Directory Generator
JSP Generator
Notifying Generator
Request Generator
Script Generator
Search Generator
Server Pages Generator
Status Generator
Stream Generator
Velocity Generator

PHP Generator
XML:DB Generator
XML:DB Collection Generator


This document lists all of the available generators of Apache Cocoon and describes their purpose.


A generator is the starting point of an xml pipeline. It generates XML content as SAX events and initializes pipeline processing. Every pipeline match containing a generator must be terminated by a serializer.

In the sitemap file, each generator has a unique name which is mapped to a java class. One generator name must be declared as the default generator. Each generator may have additional configuration information specified in child elements.

For conceptual information on generators see the user's guide document The Sitemap.

The Generators in Apache Cocoon
Copyright © 1999-2002 The Apache Software Foundation. All Rights Reserved.