org.apache.cocoon.serialization
Class TextSerializer

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.TextSerializer
All Implemented Interfaces:
Cacheable, org.apache.avalon.framework.component.Component, 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 TextSerializer
extends AbstractTextSerializer

Version:
CVS $Id: TextSerializer.java,v 1.5.2.2 2002/12/04 08:43:27 cziegeler Exp $
Author:
Stefano Mazzocchi

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
TextSerializer()
           
 
Method Summary
 void configure(org.apache.avalon.framework.configuration.Configuration conf)
          Set the configurations for this serializer.
 void recycle()
          Recyce the serializer.
 void setOutputStream(java.io.OutputStream out)
          Set the OutputStream where the XML should be serialized.
 
Methods inherited from class org.apache.cocoon.serialization.AbstractTextSerializer
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

TextSerializer

public TextSerializer()
Method Detail

configure

public void configure(org.apache.avalon.framework.configuration.Configuration conf)
               throws org.apache.avalon.framework.configuration.ConfigurationException
Set the configurations for this serializer.
Overrides:
configure in class AbstractTextSerializer

setOutputStream

public void setOutputStream(java.io.OutputStream out)
Description copied from class: AbstractTextSerializer
Set the OutputStream where the XML should be serialized.
Overrides:
setOutputStream in class AbstractTextSerializer

recycle

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


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