org.apache.cocoon.optional.pipeline.components.sax.jaxb
Class JAXBGenerator
java.lang.Object
org.apache.cocoon.pipeline.component.AbstractPipelineComponent
org.apache.cocoon.sax.AbstractSAXPipelineComponent
org.apache.cocoon.sax.AbstractSAXProducer
org.apache.cocoon.sax.AbstractSAXGenerator
org.apache.cocoon.optional.pipeline.components.sax.jaxb.JAXBGenerator
- All Implemented Interfaces:
- CachingPipelineComponent, PipelineComponent, Producer, Starter, SAXPipelineComponent, SAXProducer
public class JAXBGenerator
- extends AbstractSAXGenerator
- implements CachingPipelineComponent
SAX generator that produces SAX events from Object using the JAXB marshaller.
JAXBGenerator
public JAXBGenerator(GenericType<?> toBeMarshalled)
getCharset
public String getCharset()
setCharset
public void setCharset(String charset)
isFormattedOutput
public boolean isFormattedOutput()
setFormattedOutput
public void setFormattedOutput(boolean formattedOutput)
execute
public void execute()
- Specified by:
execute
in interface Starter
constructCacheKey
public CacheKey constructCacheKey()
- Specified by:
constructCacheKey
in interface CachingPipelineComponent
toString
public String toString()
- Overrides:
toString
in class AbstractSAXProducer
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.