apache > cocoon
 

Readers in Cocoon

Goal

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

Overview

A reader is the starting, and end point of an xml pipeline. It collapses the features of a generator, transformer, and serializer. Readers are useful for delivering binary content like images; more general readers deliver content as-is.

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

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

The Readers in Apache Cocoon