org.apache.cocoon.pipeline.component.sax
Class XMLSerializer

java.lang.Object
  extended by org.apache.cocoon.pipeline.component.sax.XMLConsumerAdapter
      extended by org.apache.cocoon.pipeline.util.AbstractXMLPipe
          extended by org.apache.cocoon.pipeline.component.sax.AbstractSerializer
              extended by org.apache.cocoon.pipeline.component.sax.XMLSerializer
All Implemented Interfaces:
CachingPipelineComponent, Consumer, Finisher, PipelineComponent, XMLConsumer, ContentHandler, LexicalHandler

public class XMLSerializer
extends AbstractSerializer
implements CachingPipelineComponent


Field Summary
 
Fields inherited from class org.apache.cocoon.pipeline.component.sax.XMLConsumerAdapter
consumer, contentHandler, lexicalHandler
 
Constructor Summary
XMLSerializer()
           
XMLSerializer(Properties format)
           
 
Method Summary
 CacheKey constructCacheKey()
           
 void setFormat(Properties format)
           
 void setOutputStream(OutputStream outputStream)
          
 void setup(Map<String,Object> inputParameters)
          The shared object map for this pipeline run.
 
Methods inherited from class org.apache.cocoon.pipeline.component.sax.AbstractSerializer
finish, getConfiguration, getContentType, getInputParameters, getOutputStream, setConfiguration, setContentType, toString
 
Methods inherited from class org.apache.cocoon.pipeline.util.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.cocoon.pipeline.component.sax.XMLConsumerAdapter
setConsumer, setContentHandler, setLexicalHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XMLSerializer

public XMLSerializer()

XMLSerializer

public XMLSerializer(Properties format)
Method Detail

setup

public void setup(Map<String,Object> inputParameters)
Description copied from class: AbstractSerializer
The shared object map for this pipeline run.

Specified by:
setup in interface PipelineComponent
Overrides:
setup in class AbstractSerializer
Parameters:
inputParameters - A Map of parameters that are available to all PipelineComponents. This is a modifiable map that can be changed by this pipeline component.
See Also:
PipelineComponent.setup(java.util.Map)

constructCacheKey

public CacheKey constructCacheKey()
Specified by:
constructCacheKey in interface CachingPipelineComponent

setFormat

public void setFormat(Properties format)

setOutputStream

public void setOutputStream(OutputStream outputStream)
Description copied from class: AbstractSerializer

Specified by:
setOutputStream in interface Finisher
Overrides:
setOutputStream in class AbstractSerializer
See Also:
Finisher.setOutputStream(java.io.OutputStream)


Copyright © 2008 The Apache Software Foundation. All Rights Reserved.