Readers in Cocoon
http://xml.apache.org/http://www.apache.org/http://www.w3.org/

Main
User Documentation

Readers
Overview

Default
Resource Reader

Core

Optional
Database Reader
JSP Reader

Scratchpad
AxisRPC Reader
Byte Range Resource Reader
Directory ZIP Archiver
Image Reader

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
Copyright © 1999-2002 The Apache Software Foundation. All Rights Reserved.