org.apache.cocoon.generation
Class JXTemplateGenerator
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.xml.AbstractXMLProducer
org.apache.cocoon.generation.AbstractGenerator
org.apache.cocoon.generation.ServiceableGenerator
org.apache.cocoon.generation.JXTemplateGenerator
- All Implemented Interfaces:
- CacheableProcessingComponent, Component, Disposable, Generator, LogEnabled, Poolable, Recyclable, Serviceable, SitemapModelComponent, XMLProducer
- Direct Known Subclasses:
- EventAwareGenerator
Deprecated. Replaced with the template block: JXTemplateGenerator.
- public class JXTemplateGenerator
- extends ServiceableGenerator
- implements CacheableProcessingComponent
- Version:
- $Id: JXTemplateGenerator.java 452138 2006-10-02 17:32:00Z joerg $
- Cocoon.sitemap.component.documentation:
- Provides a generic page template with embedded JSTL and XPath
expression substitution to access data sent by Cocoon Flowscripts.
- Cocoon.sitemap.component.label:
- content
- Cocoon.sitemap.component.logger:
- sitemap.generator.jx
- Cocoon.sitemap.component.name:
- jx
- Cocoon.sitemap.component.pooling.max:
- 16
|
Field Summary |
static String |
NS
Deprecated. The namespace used by this generator |
| Fields inherited from interface org.apache.cocoon.generation.Generator |
ROLE |
|
Method Summary |
void |
generate()
Deprecated. Generate the XML and stream it into the pipeline |
Serializable |
getKey()
Deprecated. Generate the unique key.
|
SourceValidity |
getValidity()
Deprecated. Generate the validity object.
|
void |
recycle()
Deprecated. Recycle the generator by removing references |
void |
setup(SourceResolver resolver,
Map objectModel,
String src,
Parameters parameters)
Deprecated. Set the SourceResolver, object model Map,
the source and sitemap Parameters used to process the request. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NS
public static final String NS
- Deprecated.
- The namespace used by this generator
- See Also:
- Constant Field Values
JXTemplateGenerator
public JXTemplateGenerator()
- Deprecated.
recycle
public void recycle()
- Deprecated.
- Description copied from class:
AbstractGenerator
- Recycle the generator by removing references
- Specified by:
recycle in interface Recyclable- Overrides:
recycle in class AbstractGenerator
setup
public void setup(SourceResolver resolver,
Map objectModel,
String src,
Parameters parameters)
throws ProcessingException,
SAXException,
IOException
- Deprecated.
- Description copied from class:
AbstractGenerator
- Set the
SourceResolver, object model Map,
the source and sitemap Parameters used to process the request.
- Specified by:
setup in interface SitemapModelComponent- Overrides:
setup in class AbstractGenerator
- Throws:
ProcessingException
SAXException
IOException
generate
public void generate()
throws IOException,
SAXException,
ProcessingException
- Deprecated.
- Description copied from interface:
Generator
- Generate the XML and stream it into the pipeline
- Specified by:
generate in interface Generator
- Throws:
IOException
SAXException
ProcessingException
getKey
public Serializable getKey()
- Deprecated.
- Description copied from interface:
CacheableProcessingComponent
- Generate the unique key.
This key must be unique inside the space of this component.
This method must be invoked before the getValidity() method.
- Specified by:
getKey in interface CacheableProcessingComponent
- Returns:
- The generated key or
null if the component
is currently not cacheable.
getValidity
public SourceValidity getValidity()
- Deprecated.
- Description copied from interface:
CacheableProcessingComponent
- Generate the validity object.
Before this method can be invoked the getKey() method
must be invoked.
- Specified by:
getValidity in interface CacheableProcessingComponent
- Returns:
- The generated validity object or
null if the
component is currently not cacheable.
Copyright © 1999-2006 The Apache Software Foundation. All Rights Reserved.