org.apache.cocoon.serialization
Class RTFSerializer

java.lang.Object
  |
  +--org.apache.avalon.framework.logger.AbstractLoggable
        |
        +--org.apache.cocoon.xml.AbstractXMLProducer
              |
              +--org.apache.cocoon.xml.AbstractXMLPipe
                    |
                    +--org.apache.cocoon.serialization.AbstractSerializer
                          |
                          +--org.apache.cocoon.serialization.AbstractTextSerializer
                                |
                                +--org.apache.cocoon.serialization.RTFSerializer
All Implemented Interfaces:
Cacheable, org.apache.avalon.framework.component.Component, org.apache.avalon.framework.component.Composable, org.apache.avalon.framework.configuration.Configurable, org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.avalon.framework.logger.Loggable, org.apache.avalon.excalibur.pool.Poolable, org.apache.avalon.excalibur.pool.Recyclable, Serializer, SitemapOutputComponent, XMLConsumer, XMLPipe, XMLProducer

public class RTFSerializer
extends AbstractTextSerializer
implements org.apache.avalon.framework.component.Composable

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

Version:
CVS $Id: RTFSerializer.java,v 1.5.2.2 2002/11/21 15:06:49 sylvain Exp $
Author:
Gianugo Rabellino

Inner classes inherited from class org.apache.cocoon.serialization.AbstractTextSerializer
AbstractTextSerializer.NamespaceAsAttributes
 
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, lexicalHandler, xmlConsumer
 
Fields inherited from interface org.apache.cocoon.serialization.Serializer
ROLE
 
Constructor Summary
RTFSerializer()
           
 
Method Summary
 void compose(org.apache.avalon.framework.component.ComponentManager manager)
          Set the current ComponentManager instance used by this Composable.
 void recycle()
          Recycle the serializer.
 void setOutputStream(java.io.OutputStream out)
          Set the OutputStream where the serializer will write to.
 
Methods inherited from class org.apache.cocoon.serialization.AbstractTextSerializer
configure, generateKey, generateValidity, getTransformerFactory, 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, endDocument, endDTD, endElement, endEntity, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startCDATA, startDocument, startDTD, startElement, startEntity, startPrefixMapping
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLoggable
getLogger, setLogger, 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, endDocument, 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

compose

public void compose(org.apache.avalon.framework.component.ComponentManager manager)
Set the current ComponentManager instance used by this Composable.
Specified by:
compose in interface org.apache.avalon.framework.component.Composable

setOutputStream

public void setOutputStream(java.io.OutputStream out)
Set the OutputStream where the serializer will write to.
Overrides:
setOutputStream in class AbstractTextSerializer
Parameters:
out - the OutputStream

recycle

public void recycle()
Recycle the serializer. GC instance variables
Overrides:
recycle in class AbstractTextSerializer


Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.