org.apache.cocoon.serialization
Class RTFSerializer
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
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:
- Poolable, Recyclable, Component, Configurable, Contextualizable, LogEnabled, CacheableProcessingComponent, Serializer, SitemapOutputComponent, XMLPipe, XMLProducer, XMLConsumer, ContentHandler, LexicalHandler
public class RTFSerializer
- extends AbstractTextSerializer
This class uses the jfor library
to serialize XSL:FO documents to RTF streams.
- Version:
- CVS $Id: RTFSerializer.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Gianugo Rabellino
Fields inherited from interface org.apache.cocoon.serialization.Serializer |
ROLE |
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 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 |
RTFSerializer
public RTFSerializer()
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 AbstractSerializer
- 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-2010 The Apache Software Foundation. All Rights Reserved.