org.apache.cocoon.serialization
Class RTFSerializer

java.lang.Object
  extended byorg.apache.avalon.framework.logger.AbstractLogEnabled
      extended byorg.apache.cocoon.xml.AbstractXMLProducer
          extended byorg.apache.cocoon.xml.AbstractXMLPipe
              extended byorg.apache.cocoon.serialization.AbstractSerializer
                  extended byorg.apache.cocoon.serialization.AbstractTextSerializer
                      extended byorg.apache.cocoon.serialization.RTFSerializer
All Implemented Interfaces:
CacheableProcessingComponent, Configurable, ContentHandler, LexicalHandler, LogEnabled, Poolable, Recyclable, Serializer, SitemapOutputComponent, XMLConsumer, XMLConsumer, XMLPipe, XMLProducer

public class RTFSerializer
extends AbstractTextSerializer

This class uses the jfor library to serialize XSL:FO documents to RTF streams.

Version:
CVS $Id: RTFSerializer.java 36658 2004-08-20 09:21:39Z cziegeler $
Author:
Gianugo Rabellino

Nested Class Summary
 
Nested classes inherited from class org.apache.cocoon.serialization.AbstractTextSerializer
AbstractTextSerializer.NamespaceAsAttributes
 
Field Summary
 
Fields inherited from class org.apache.cocoon.serialization.AbstractTextSerializer
format
 
Fields inherited from class org.apache.cocoon.serialization.AbstractSerializer
output
 
Fields inherited from class org.apache.cocoon.xml.AbstractXMLProducer
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
 
Fields inherited from interface org.apache.cocoon.serialization.Serializer
ROLE
 
Constructor Summary
RTFSerializer()
           
 
Method Summary
 void recycle()
          Recycle the serializer.
 void setOutputStream(OutputStream out)
          Set the OutputStream where the serializer will write to.
 
Methods inherited from class org.apache.cocoon.serialization.AbstractTextSerializer
configure, configure, endDocument, getKey, getTransformerFactory, getTransformerHandler, getValidity, needsNamespacesAsAttributes, setConsumer, setContentHandler, setLexicalHandler
 
Methods inherited from class org.apache.cocoon.serialization.AbstractSerializer
getMimeType, shouldSetContentLength
 
Methods inherited from class org.apache.cocoon.xml.AbstractXMLPipe
characters, comment, endCDATA, endDTD, endElement, endEntity, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startCDATA, startDocument, startDTD, startElement, startEntity, startPrefixMapping
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.xml.sax.ContentHandler
characters, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping
 
Methods inherited from interface org.xml.sax.ext.LexicalHandler
comment, endCDATA, endDTD, endEntity, startCDATA, startDTD, startEntity
 

Constructor Detail

RTFSerializer

public RTFSerializer()
Method Detail

setOutputStream

public void setOutputStream(OutputStream out)
Set the OutputStream where the serializer will write to.

Specified by:
setOutputStream in interface SitemapOutputComponent
Overrides:
setOutputStream in class AbstractTextSerializer
Parameters:
out - the OutputStream

recycle

public void recycle()
Recycle the serializer. GC instance variables

Specified by:
recycle in interface Recyclable
Overrides:
recycle in class AbstractTextSerializer
See Also:
Recyclable.recycle()


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.