org.apache.cocoon.optional.pipeline.components.sax.fop
Class FopSerializer

java.lang.Object
  extended by org.apache.cocoon.xml.sax.AbstractSAXProducer
      extended by org.apache.cocoon.xml.sax.AbstractSAXPipe
          extended by org.apache.cocoon.sax.util.SAXConsumerAdapter
              extended by org.apache.cocoon.sax.AbstractSAXSerializer
                  extended by org.apache.cocoon.optional.pipeline.components.sax.fop.FopSerializer
All Implemented Interfaces:
CachingPipelineComponent, Consumer, Finisher, PipelineComponent, SAXConsumer, SAXPipelineComponent, ContentHandler, LexicalHandler

public class FopSerializer
extends AbstractSAXSerializer
implements CachingPipelineComponent


Field Summary
 
Fields inherited from class org.apache.cocoon.xml.sax.AbstractSAXProducer
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler
 
Constructor Summary
FopSerializer()
          Create a new FOP serializer that produces a PDF in output
FopSerializer(String outputFormat)
          Create a new FOP serializer that produces the specified mime
 
Method Summary
 CacheKey constructCacheKey()
           
 void setOutputStream(OutputStream outputStream)
          
 String toString()
          
 
Methods inherited from class org.apache.cocoon.sax.AbstractSAXSerializer
getConfiguration, getContentType, getInputParameters, getOutputStream, setConfiguration, setContentType, setup
 
Methods inherited from class org.apache.cocoon.sax.util.SAXConsumerAdapter
finish, getContentHandler
 
Methods inherited from class org.apache.cocoon.xml.sax.AbstractSAXPipe
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.xml.sax.AbstractSAXProducer
recycle, setContentHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.cocoon.pipeline.component.PipelineComponent
finish
 
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

FopSerializer

public FopSerializer()
Create a new FOP serializer that produces a PDF in output


FopSerializer

public FopSerializer(String outputFormat)
Create a new FOP serializer that produces the specified mime

Parameters:
outputFormat - the output's mime type
See Also:
MimeConstants}
Method Detail

constructCacheKey

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

setOutputStream

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

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

toString

public String toString()
Description copied from class: AbstractSAXSerializer

Overrides:
toString in class AbstractSAXSerializer
See Also:
Object.toString()


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