Package org.ametys.core.cocoon
Class CSVSerializer
-
- All Implemented Interfaces:
Poolable
,Recyclable
,Component
,Configurable
,Contextualizable
,LogEnabled
,CacheableProcessingComponent
,Serializer
,SitemapOutputComponent
,XMLConsumer
,XMLPipe
,XMLProducer
,XMLConsumer
,ContentHandler
,LexicalHandler
public class CSVSerializer extends TextSerializer
Serializer CSV
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.cocoon.serialization.AbstractTextSerializer
AbstractTextSerializer.NamespaceAsAttributes
-
-
Field Summary
-
Fields inherited from class org.apache.cocoon.serialization.AbstractTextSerializer
format
-
Fields inherited from class org.apache.cocoon.serialization.AbstractSerializer
output
-
Fields inherited from class org.apache.cocoon.xml.AbstractXMLProducer
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
-
Fields inherited from interface org.apache.cocoon.serialization.Serializer
ROLE
-
-
Constructor Summary
Constructors Constructor Description CSVSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(Configuration conf)
String
getMimeType()
void
setOutputStream(OutputStream out)
-
Methods inherited from class org.apache.cocoon.serialization.TextSerializer
characters, endDocument, recycle, startElement
-
Methods inherited from class org.apache.cocoon.serialization.AbstractTextSerializer
contextualize, getKey, getTransformerFactory, getTransformerHandler, getValidity, needsNamespacesAsAttributes, setConsumer, setContentHandler, setLexicalHandler
-
Methods inherited from class org.apache.cocoon.serialization.AbstractSerializer
shouldSetContentLength
-
Methods inherited from class org.apache.cocoon.xml.AbstractXMLPipe
comment, endCDATA, endDTD, endElement, endEntity, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startCDATA, startDocument, startDTD, startEntity, startPrefixMapping
-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.xml.sax.ContentHandler
endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping
-
Methods inherited from interface org.xml.sax.ext.LexicalHandler
comment, endCDATA, endDTD, endEntity, startCDATA, startDTD, startEntity
-
-
-
-
Constructor Detail
-
CSVSerializer
public CSVSerializer()
-
-
Method Detail
-
configure
public void configure(Configuration conf) throws ConfigurationException
- Specified by:
configure
in interfaceConfigurable
- Overrides:
configure
in classTextSerializer
- Throws:
ConfigurationException
-
getMimeType
public String getMimeType()
- Specified by:
getMimeType
in interfaceSitemapOutputComponent
- Overrides:
getMimeType
in classAbstractSerializer
-
setOutputStream
public void setOutputStream(OutputStream out) throws IOException
- Specified by:
setOutputStream
in interfaceSitemapOutputComponent
- Overrides:
setOutputStream
in classTextSerializer
- Throws:
IOException
-
-