org.apache.cocoon.serialization
Class VirtualPipelineSerializer
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.xml.AbstractXMLProducer
org.apache.cocoon.xml.AbstractXMLPipe
org.apache.cocoon.sitemap.impl.AbstractVirtualSitemapComponent
org.apache.cocoon.serialization.VirtualPipelineSerializer
- All Implemented Interfaces:
- Configurable, ContentHandler, Contextualizable, LexicalHandler, LogEnabled, Poolable, Recyclable, Serializer, Serviceable, SitemapModelComponent, SitemapOutputComponent, XMLConsumer, XMLConsumer, XMLPipe, XMLProducer
- public class VirtualPipelineSerializer
- extends AbstractVirtualSitemapComponent
- implements Serializer
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, startDTD, startElement, startEntity, startPrefixMapping |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VirtualPipelineSerializer
public VirtualPipelineSerializer()
getTypeName
protected String getTypeName()
- Specified by:
getTypeName
in class AbstractVirtualSitemapComponent
setOutputStream
public void setOutputStream(OutputStream out)
- Set the
OutputStream
- Specified by:
setOutputStream
in interface SitemapOutputComponent
- Parameters:
out
- The OutputStream
target for the rendered results.
getMimeType
public String getMimeType()
- Get the mime-type of the output of this
Reader
- Specified by:
getMimeType
in interface SitemapOutputComponent
- Returns:
- the mime-type for the results.
shouldSetContentLength
public boolean shouldSetContentLength()
- Test if the component wants to set the content length
- Specified by:
shouldSetContentLength
in interface SitemapOutputComponent
- Returns:
true
if the content length needs to be set.
startDocument
public void startDocument()
throws SAXException
- Process the SAX event. A new document is processed. The
internal pipeline is prepared.
- Specified by:
startDocument
in interface ContentHandler
- Overrides:
startDocument
in class AbstractXMLPipe
- Throws:
SAXException
- See Also:
ContentHandler.startDocument()
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.