This project has retired. For details please refer to its
Attic page .
XMLSerializer (Apache Cocoon 3: Parent 3.0.0-beta-1-SNAPSHOT API)
org.apache.cocoon.sax.component
Class XMLSerializer
java.lang.Object
org.apache.cocoon.xml.sax.AbstractSAXProducer
org.apache.cocoon.xml.sax.AbstractSAXPipe
org.apache.cocoon.sax.util.SAXConsumerAdapter
org.apache.cocoon.sax.AbstractSAXSerializer
org.apache.cocoon.sax.component.XMLSerializer
All Implemented Interfaces: CachingPipelineComponent , Consumer , Finisher , PipelineComponent , SAXConsumer , SAXPipelineComponent , ContentHandler , LexicalHandler
Direct Known Subclasses: TextSerializer
public class XMLSerializer extends AbstractSAXSerializer implements CachingPipelineComponent
Fields inherited from class org.apache.cocoon.xml.sax.AbstractSAXProducer
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler
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 interface org.xml.sax.ContentHandler
characters , endDocument , endElement , endPrefixMapping , ignorableWhitespace , processingInstruction , setDocumentLocator , skippedEntity , startDocument , startElement , startPrefixMapping
XMLSerializer
public XMLSerializer ()
XMLSerializer
public XMLSerializer (Properties format)
constructCacheKey
public CacheKey constructCacheKey ()
Specified by: constructCacheKey
in interface CachingPipelineComponent
setCDataSectionElements
public XMLSerializer setCDataSectionElements (String cdataSectionElements)
setDoctypePublic
public XMLSerializer setDoctypePublic (String doctypePublic)
setDoctypeSystem
public XMLSerializer setDoctypeSystem (String doctypeSystem)
setEncoding
public XMLSerializer setEncoding (String encoding)
setFormat
public void setFormat (Properties format)
setIndent
public XMLSerializer setIndent (boolean indent)
setMediaType
public XMLSerializer setMediaType (String mediaType)
setMethod
public XMLSerializer setMethod (String method)
setOmitXmlDeclaration
public XMLSerializer setOmitXmlDeclaration (boolean omitXmlDeclration)
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)
setStandAlone
public XMLSerializer setStandAlone (boolean standalone)
setup
public void setup (Map <String ,Object > inputParameters)
Description copied from class: AbstractSAXSerializer
The shared object map for this pipeline run.
Specified by: setup
in interface PipelineComponent
Overrides: setup
in class AbstractSAXSerializer
Parameters: inputParameters
- A Map
of parameters that are available to all
PipelineComponent
s. This is a modifiable map that can
be changed by this pipeline component.See Also: PipelineComponent.setup(java.util.Map)
setVersion
public XMLSerializer setVersion (String version)
getFormat
protected Properties getFormat ()
createXHTMLSerializer
public static XMLSerializer createXHTMLSerializer ()
createHTML4Serializer
public static XMLSerializer createHTML4Serializer ()
createXMLSerializer
public static XMLSerializer createXMLSerializer ()
Copyright © 2008-2012 The Apache Software Foundation . All Rights Reserved.