org.apache.cocoon.stringtemplate
Class StringTemplateTransformer
java.lang.Object
org.apache.cocoon.pipeline.component.AbstractPipelineComponent
org.apache.cocoon.sax.AbstractSAXPipelineComponent
org.apache.cocoon.sax.AbstractSAXProducer
org.apache.cocoon.sax.AbstractSAXTransformer
org.apache.cocoon.stringtemplate.StringTemplateTransformer
- All Implemented Interfaces:
- Consumer, PipelineComponent, Producer, SAXConsumer, SAXPipelineComponent, SAXProducer, ContentHandler, LexicalHandler
public class StringTemplateTransformer
- extends AbstractSAXTransformer
Methods inherited from class org.apache.cocoon.sax.AbstractSAXTransformer |
characters, comment, endCDATA, endDTD, endElement, endEntity, endPrefixMapping, endSAXRecording, endTextRecording, findPrefixMapping, ignorableWhitespace, processingInstruction, removeRecorder, sendEndPrefixMapping, sendStartPrefixMapping, setDocumentLocator, setRecorder, skippedEntity, startCDATA, startDTD, startElement, startEntity, startPrefixMapping, startSAXRecording, startTextRecording |
StringTemplateTransformer
public StringTemplateTransformer()
setup
public void setup(Map<String,Object> parameters)
- Description copied from interface:
PipelineComponent
- The shared object map for this pipeline run.
- Specified by:
setup
in interface PipelineComponent
- Overrides:
setup
in class AbstractPipelineComponent
- Parameters:
parameters
- A Map
of parameters that are available to all
PipelineComponent
s. This is a modifiable map that can
be changed by this pipeline component.
setConfiguration
public void setConfiguration(Map<String,? extends Object> configuration)
- Description copied from interface:
PipelineComponent
- Pass component specific configuration parameters to the pipeline
component in a generic way. This is useful in environments that
automatically assemble pipelines with their components and can't use the
components constructors or setters.
- Specified by:
setConfiguration
in interface PipelineComponent
- Overrides:
setConfiguration
in class AbstractPipelineComponent
- Parameters:
configuration
- The Map
of configuration parameters.
startDocument
public void startDocument()
throws SAXException
- Specified by:
startDocument
in interface ContentHandler
- Overrides:
startDocument
in class AbstractSAXTransformer
- Throws:
SAXException
endDocument
public void endDocument()
throws SAXException
- Specified by:
endDocument
in interface ContentHandler
- Overrides:
endDocument
in class AbstractSAXTransformer
- Throws:
SAXException
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.