Logo
 
 
 
spacer

Introduction

Serializers consume SAX events and produce a character stream. Every pipeline needs to be terminated by a serializer.

Overview

The following section presents the serializers available in Cocoon. It was auto-generated from the java source files.

org.apache.cocoon.serialization.SVGSerializer

A Batik based Serializer for generating PNG/JPEG images

Overview

Name    
Class   org.apache.cocoon.serialization.SVGSerializer  
Cacheable   true 
AllInterfaces  org.xml.sax.ErrorHandler
org.apache.avalon.framework.context.Contextualizable
org.apache.batik.dom.svg.SVGDocumentFactory
org.apache.batik.dom.util.DocumentFactory
org.apache.avalon.framework.configuration.Configurable
org.xml.sax.ContentHandler
org.apache.avalon.excalibur.pool.Poolable
org.xml.sax.ext.LexicalHandler
org.xml.sax.DTDHandler
org.apache.cocoon.xml.XMLConsumer
org.apache.cocoon.sitemap.SitemapOutputComponent
org.apache.cocoon.serialization.Serializer
org.apache.avalon.framework.logger.Loggable
org.xml.sax.EntityResolver
org.apache.cocoon.caching.Cacheable
org.apache.avalon.framework.component.Composable
org.apache.avalon.framework.component.Component  
AllSuperclasses  org.apache.cocoon.xml.dom.SVGBuilder
org.apache.batik.dom.svg.SAXSVGDocumentFactory
org.apache.batik.dom.util.SAXDocumentFactory
org.xml.sax.helpers.DefaultHandler
java.lang.Object  
Version  CVS $Id: serializers-ref.xml,v 1.1 2002/05/13 18:33:28 HuberB1 Exp $  

Sitemap Definition

Serializer sitemap definition:

<map:serializers default="html">
  ...
  <map:serializer name="" 
    src="org.apache.cocoon.serialization.SVGSerializer"/>
  ...
</map:serializers>

Sitemap Usage

Serializer usage example:

<map:pipeline>
  <map:match pattern="foo"/>
    ...
    <map:serialize type="" ... />
    ...
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.serialization.LinkSerializer

Overview

Name    
Class   org.apache.cocoon.serialization.LinkSerializer  
Cacheable   false 
AllInterfaces  org.apache.cocoon.xml.XMLPipe
org.apache.cocoon.xml.XMLProducer
org.xml.sax.ContentHandler
org.xml.sax.ext.LexicalHandler
org.apache.avalon.excalibur.pool.Poolable
org.apache.avalon.excalibur.pool.Recyclable
org.apache.cocoon.xml.XMLConsumer
org.apache.cocoon.sitemap.SitemapOutputComponent
org.apache.cocoon.serialization.Serializer
org.apache.avalon.framework.logger.Loggable
org.apache.cocoon.xml.xlink.XLinkHandler
org.apache.avalon.framework.component.Component  
AllSuperclasses  org.apache.cocoon.xml.xlink.ExtendedXLinkPipe
org.apache.cocoon.xml.xlink.XLinkPipe
org.apache.cocoon.xml.AbstractXMLPipe
org.apache.cocoon.xml.AbstractXMLProducer
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: serializers-ref.xml,v 1.1 2002/05/13 18:33:28 HuberB1 Exp $  

Sitemap Definition

Serializer sitemap definition:

<map:serializers default="html">
  ...
  <map:serializer name="" 
    src="org.apache.cocoon.serialization.LinkSerializer"/>
  ...
</map:serializers>

Sitemap Usage

Serializer usage example:

<map:pipeline>
  <map:match pattern="foo"/>
    ...
    <map:serialize type="" ... />
    ...
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.serialization.XMLSerializer

Overview

Name    
Class   org.apache.cocoon.serialization.XMLSerializer  
Cacheable   true 
AllInterfaces  org.apache.cocoon.xml.XMLPipe
org.apache.avalon.framework.configuration.Configurable
org.apache.cocoon.xml.XMLProducer
org.xml.sax.ContentHandler
org.xml.sax.ext.LexicalHandler
org.apache.avalon.excalibur.pool.Poolable
org.apache.avalon.excalibur.pool.Recyclable
org.apache.cocoon.xml.XMLConsumer
org.apache.cocoon.sitemap.SitemapOutputComponent
org.apache.cocoon.serialization.Serializer
org.apache.avalon.framework.logger.Loggable
org.apache.cocoon.caching.Cacheable
org.apache.avalon.framework.component.Component  
AllSuperclasses  org.apache.cocoon.serialization.AbstractTextSerializer
org.apache.cocoon.serialization.AbstractSerializer
org.apache.cocoon.xml.AbstractXMLPipe
org.apache.cocoon.xml.AbstractXMLProducer
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: serializers-ref.xml,v 1.1 2002/05/13 18:33:28 HuberB1 Exp $  

Sitemap Definition

Serializer sitemap definition:

<map:serializers default="html">
  ...
  <map:serializer name="" 
    src="org.apache.cocoon.serialization.XMLSerializer"/>
  ...
</map:serializers>

Sitemap Usage

Serializer usage example:

<map:pipeline>
  <map:match pattern="foo"/>
    ...
    <map:serialize type="" ... />
    ...
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.serialization.FOPSerializer

Overview

Name    
Class   org.apache.cocoon.serialization.FOPSerializer  
Cacheable   true 
AllInterfaces  org.apache.cocoon.xml.XMLPipe
org.apache.avalon.framework.configuration.Configurable
org.apache.cocoon.xml.XMLProducer
org.xml.sax.ContentHandler
org.xml.sax.ext.LexicalHandler
org.apache.avalon.excalibur.pool.Poolable
org.apache.avalon.excalibur.pool.Recyclable
org.apache.cocoon.xml.XMLConsumer
org.apache.cocoon.serialization.Serializer
org.apache.cocoon.sitemap.SitemapOutputComponent
org.apache.avalon.framework.logger.Loggable
org.apache.cocoon.caching.Cacheable
org.apache.avalon.framework.component.Component  
AllSuperclasses  org.apache.cocoon.serialization.AbstractSerializer
org.apache.cocoon.xml.AbstractXMLPipe
org.apache.cocoon.xml.AbstractXMLProducer
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: serializers-ref.xml,v 1.1 2002/05/13 18:33:28 HuberB1 Exp $  

Sitemap Definition

Serializer sitemap definition:

<map:serializers default="html">
  ...
  <map:serializer name="" 
    src="org.apache.cocoon.serialization.FOPSerializer"/>
  ...
</map:serializers>

Sitemap Usage

Serializer usage example:

<map:pipeline>
  <map:match pattern="foo"/>
    ...
    <map:serialize type="" ... />
    ...
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.serialization.HTMLSerializer

Overview

Name    
Class   org.apache.cocoon.serialization.HTMLSerializer  
Cacheable   true 
AllInterfaces  org.apache.cocoon.xml.XMLPipe
org.apache.avalon.framework.configuration.Configurable
org.apache.cocoon.xml.XMLProducer
org.xml.sax.ContentHandler
org.xml.sax.ext.LexicalHandler
org.apache.avalon.excalibur.pool.Poolable
org.apache.avalon.excalibur.pool.Recyclable
org.apache.cocoon.xml.XMLConsumer
org.apache.cocoon.sitemap.SitemapOutputComponent
org.apache.cocoon.serialization.Serializer
org.apache.avalon.framework.logger.Loggable
org.apache.cocoon.caching.Cacheable
org.apache.avalon.framework.component.Component  
AllSuperclasses  org.apache.cocoon.serialization.AbstractTextSerializer
org.apache.cocoon.serialization.AbstractSerializer
org.apache.cocoon.xml.AbstractXMLPipe
org.apache.cocoon.xml.AbstractXMLProducer
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: serializers-ref.xml,v 1.1 2002/05/13 18:33:28 HuberB1 Exp $  

Sitemap Definition

Serializer sitemap definition:

<map:serializers default="html">
  ...
  <map:serializer name="" 
    src="org.apache.cocoon.serialization.HTMLSerializer"/>
  ...
</map:serializers>

Sitemap Usage

Serializer usage example:

<map:pipeline>
  <map:match pattern="foo"/>
    ...
    <map:serialize type="" ... />
    ...
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.serialization.TextSerializer

Overview

Name    
Class   org.apache.cocoon.serialization.TextSerializer  
Cacheable   true 
AllInterfaces  org.apache.cocoon.xml.XMLPipe
org.apache.avalon.framework.configuration.Configurable
org.apache.cocoon.xml.XMLProducer
org.xml.sax.ContentHandler
org.xml.sax.ext.LexicalHandler
org.apache.avalon.excalibur.pool.Poolable
org.apache.avalon.excalibur.pool.Recyclable
org.apache.cocoon.xml.XMLConsumer
org.apache.cocoon.sitemap.SitemapOutputComponent
org.apache.cocoon.serialization.Serializer
org.apache.avalon.framework.logger.Loggable
org.apache.cocoon.caching.Cacheable
org.apache.avalon.framework.component.Component  
AllSuperclasses  org.apache.cocoon.serialization.AbstractTextSerializer
org.apache.cocoon.serialization.AbstractSerializer
org.apache.cocoon.xml.AbstractXMLPipe
org.apache.cocoon.xml.AbstractXMLProducer
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: serializers-ref.xml,v 1.1 2002/05/13 18:33:28 HuberB1 Exp $  

Sitemap Definition

Serializer sitemap definition:

<map:serializers default="html">
  ...
  <map:serializer name="" 
    src="org.apache.cocoon.serialization.TextSerializer"/>
  ...
</map:serializers>

Sitemap Usage

Serializer usage example:

<map:pipeline>
  <map:match pattern="foo"/>
    ...
    <map:serialize type="" ... />
    ...
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.serialization.HSSFSerializer

Serializer to produce an HSSF stream.

Overview

Name    
Class   org.apache.cocoon.serialization.HSSFSerializer  
Cacheable   false 
AllInterfaces  org.xml.sax.ContentHandler
org.xml.sax.ext.LexicalHandler
org.apache.cocoon.xml.XMLConsumer
org.apache.avalon.framework.activity.Initializable
org.apache.cocoon.sitemap.SitemapOutputComponent
org.apache.cocoon.serialization.Serializer
org.apache.avalon.framework.logger.Loggable
org.apache.avalon.framework.component.Composable
org.apache.avalon.framework.component.Component  
AllSuperclasses  org.apache.cocoon.serialization.POIFSSerializer
org.apache.cocoon.serialization.ElementProcessorSerializer
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version   

Sitemap Definition

Serializer sitemap definition:

<map:serializers default="html">
  ...
  <map:serializer name="" 
    src="org.apache.cocoon.serialization.HSSFSerializer"/>
  ...
</map:serializers>

Sitemap Usage

Serializer usage example:

<map:pipeline>
  <map:match pattern="foo"/>
    ...
    <map:serialize type="" ... />
    ...
  </map:match>
  ...
</map:pipeline>
spacer

Events
Party 1
Party 2

spacer
 
 
(C) 2001 Huber Bernhard