apache > cocoon
 

Generators in Cocoon

Goal

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

Overview

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.

On the left you see all generators that are available in Cocoon. The list is separated into the core generators, belonging to the Cocoon core, and optional generators that are part of specific blocks.

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