org.apache.cocoon.serialization
Class HTMLSerializer
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.HTMLSerializer
- All Implemented Interfaces:
- CacheableProcessingComponent, Configurable, ContentHandler, LexicalHandler, LogEnabled, Poolable, Recyclable, Serializer, SitemapOutputComponent, XMLConsumer, XMLConsumer, XMLPipe, XMLProducer
- Direct Known Subclasses:
- IncludingHTMLSerializer
- public class HTMLSerializer
- extends AbstractTextSerializer
- Version:
- CVS $Id: HTMLSerializer.java 180025 2005-06-04 21:08:46Z antonio $
- Author:
- Stefano Mazzocchi
- Cocoon.sitemap.component.configuration:
- -//W3C//DTD HTML 4.01 Transitional//EN
http://www.w3.org/TR/html4/loose.dtd
- Cocoon.sitemap.component.documentation:
- The html serializer serializes sax events into an html document.
- Cocoon.sitemap.component.logger:
- sitemap.serializer.html
- Cocoon.sitemap.component.mimetype:
- text/html
- Cocoon.sitemap.component.name:
- html
- Cocoon.sitemap.component.pooling.max:
- 32
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 |
HTMLSerializer
public HTMLSerializer()
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.