org.apache.cocoon.serialization
Class XMLSerializer
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.XMLSerializer
- All Implemented Interfaces:
- CacheableProcessingComponent, Configurable, ContentHandler, LexicalHandler, LogEnabled, Poolable, Recyclable, Serializer, SitemapOutputComponent, XMLConsumer, XMLConsumer, XMLPipe, XMLProducer
- public class XMLSerializer
- extends AbstractTextSerializer
- Version:
- CVS $Id: XMLSerializer.java 30941 2004-07-29 19:56:58Z vgritsenko $
- Author:
- Stefano Mazzocchi
Fields inherited from interface org.apache.cocoon.serialization.Serializer |
ROLE |
Methods inherited from class org.apache.cocoon.serialization.AbstractTextSerializer |
configure, endDocument, getKey, getTransformerFactory, getTransformerHandler, getValidity, needsNamespacesAsAttributes, recycle, setConsumer, setContentHandler, setLexicalHandler |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLSerializer
public XMLSerializer()
configure
public void configure(Configuration conf)
throws ConfigurationException
- Set the configurations for this serializer.
- Specified by:
configure
in interface Configurable
- Overrides:
configure
in class AbstractTextSerializer
- Throws:
ConfigurationException
setOutputStream
public void setOutputStream(OutputStream out)
throws IOException
- Set the
OutputStream
where the requested resource should
be serialized.
- Specified by:
setOutputStream
in interface SitemapOutputComponent
- Overrides:
setOutputStream
in class AbstractTextSerializer
- Throws:
IOException
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.