All processing within Cocoon is handled within a pipeline. i.e. input, zero or more processing stages, and ultimately some output.

Processing steps are modelled as different types of Components, the simplest pipeline is:

Therefore a pipeline consists of a generator, zero or more transformers and a serializer. A pipeline may also define its own ErrorHandling.

Requests to Cocoon are mapped to pipeline by a Matcher or a Selector. These are configured in the Sitemap.

Aggregator allow pipeline to be configured into a hierarchy, producing a compound document.

Definition

The map:pipeline element can contain:

Types of Pipeline