|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.pipeline.component.AbstractPipelineComponent org.apache.cocoon.stringtemplate.StringTemplateReader
public class StringTemplateReader
Constructor Summary | |
---|---|
StringTemplateReader()
|
|
StringTemplateReader(URL source)
|
Method Summary | |
---|---|
CacheKey |
constructCacheKey()
|
void |
execute()
|
String |
getContentType()
|
void |
setConfiguration(Map<String,? extends Object> configuration)
Pass component specific configuration parameters to the pipeline component in a generic way. |
void |
setMimeType(String mimeType)
Set the mime-type directly which is useful when this component is used directly. |
void |
setOutputStream(OutputStream outputStream)
|
void |
setSource(URL source)
Set the source URL directly when this component is used directly. |
void |
setup(Map<String,Object> parameters)
The shared object map for this pipeline run. |
Methods inherited from class org.apache.cocoon.pipeline.component.AbstractPipelineComponent |
---|
finish |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.cocoon.pipeline.component.PipelineComponent |
---|
finish |
Constructor Detail |
---|
public StringTemplateReader()
public StringTemplateReader(URL source)
Method Detail |
---|
public CacheKey constructCacheKey()
constructCacheKey
in interface CachingPipelineComponent
CachingPipelineComponent.constructCacheKey()
public void execute()
execute
in interface Starter
Starter.execute()
public String getContentType()
getContentType
in interface Finisher
Finisher.getContentType()
public void setConfiguration(Map<String,? extends Object> configuration)
setConfiguration
in interface PipelineComponent
setConfiguration
in class AbstractPipelineComponent
configuration
- The Map
of configuration parameters.PipelineComponent.setConfiguration(java.util.Map)
public void setMimeType(String mimeType)
mimeType
- The mime-type that belongs to the content that is produced by this component.public void setOutputStream(OutputStream outputStream)
setOutputStream
in interface Finisher
Finisher.setOutputStream(java.io.OutputStream)
public final void setSource(URL source)
URL
directly when this component is used directly.
source
- A URL
that will be used by this component.public void setup(Map<String,Object> parameters)
setup
in interface PipelineComponent
setup
in class AbstractPipelineComponent
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.AbstractPipelineComponent.setup(java.util.Map)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |