|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 CachingPipelineComponentCachingPipelineComponent.constructCacheKey()public void execute()
execute in interface StarterStarter.execute()public String getContentType()
getContentType in interface FinisherFinisher.getContentType()public void setConfiguration(Map<String,? extends Object> configuration)
setConfiguration in interface PipelineComponentsetConfiguration in class AbstractPipelineComponentconfiguration - 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 FinisherFinisher.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 PipelineComponentsetup in class AbstractPipelineComponentparameters - A Map of parameters that are available to all
PipelineComponents. 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 | |||||||||