org.apache.cocoon.stringtemplate
Class StringTemplateGenerator

java.lang.Object
  extended by org.apache.cocoon.pipeline.component.AbstractPipelineComponent
      extended by org.apache.cocoon.pipeline.component.sax.AbstractXMLProducer
          extended by org.apache.cocoon.stringtemplate.StringTemplateGenerator
All Implemented Interfaces:
CachingPipelineComponent, PipelineComponent, Producer, XMLProducer, Starter

public class StringTemplateGenerator
extends AbstractXMLProducer
implements Starter, CachingPipelineComponent


Constructor Summary
StringTemplateGenerator()
           
StringTemplateGenerator(URL source)
           
 
Method Summary
 CacheKey constructCacheKey()
          
 void execute()
          
 void setConfiguration(Map<String,? extends Object> parameters)
          
 void setSource(URL source)
           
 void setup(Map<String,Object> parameters)
          The shared object map for this pipeline run.
 
Methods inherited from class org.apache.cocoon.pipeline.component.sax.AbstractXMLProducer
getXMLConsumer, setConsumer, setXMLConsumer, toString
 
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, wait, wait, wait
 
Methods inherited from interface org.apache.cocoon.pipeline.component.PipelineComponent
finish
 

Constructor Detail

StringTemplateGenerator

public StringTemplateGenerator()

StringTemplateGenerator

public StringTemplateGenerator(URL source)
Method Detail

constructCacheKey

public CacheKey constructCacheKey()

Specified by:
constructCacheKey in interface CachingPipelineComponent
See Also:
CachingPipelineComponent.constructCacheKey()

execute

public void execute()

Specified by:
execute in interface Starter
See Also:
Starter.execute()

setConfiguration

public void setConfiguration(Map<String,? extends Object> parameters)

Specified by:
setConfiguration in interface PipelineComponent
Overrides:
setConfiguration in class AbstractPipelineComponent
See Also:
org.apache.cocoon.pipeline.component.AbstractXMLProducer#setConfiguration(java.util.Map)

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 PipelineComponents. This is a modifiable map that can be changed by this pipeline component.

setSource

public void setSource(URL source)


Copyright © 2008 The Apache Software Foundation. All Rights Reserved.