org.apache.cocoon.template
Class JXTemplateGenerator
java.lang.Object
org.apache.cocoon.util.AbstractLogEnabled
org.apache.cocoon.xml.AbstractXMLProducer
org.apache.cocoon.generation.AbstractGenerator
org.apache.cocoon.generation.ServiceableGenerator
org.apache.cocoon.template.JXTemplateGenerator
- All Implemented Interfaces:
- Poolable, Recyclable, Disposable, Serviceable, org.apache.cocoon.caching.CacheableProcessingComponent, org.apache.cocoon.generation.Generator, org.apache.cocoon.sitemap.SitemapModelComponent, org.apache.cocoon.xml.XMLProducer
public class JXTemplateGenerator
- extends org.apache.cocoon.generation.ServiceableGenerator
- implements org.apache.cocoon.caching.CacheableProcessingComponent
- Version:
- $Id: JXTemplateGenerator.java 570034 2007-08-27 08:29:26Z lgawron $
Fields inherited from class org.apache.cocoon.generation.ServiceableGenerator |
manager |
Fields inherited from class org.apache.cocoon.generation.AbstractGenerator |
objectModel, parameters, resolver, source |
Fields inherited from class org.apache.cocoon.xml.AbstractXMLProducer |
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer |
Fields inherited from interface org.apache.cocoon.generation.Generator |
ROLE |
Methods inherited from class org.apache.cocoon.xml.AbstractXMLProducer |
setConsumer, setContentHandler, setLexicalHandler |
Methods inherited from class org.apache.cocoon.util.AbstractLogEnabled |
getLogger, setLogger |
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.xml.XMLProducer |
setConsumer |
NS
public static final String NS
- The namespace used by this generator
- See Also:
- Constant Field Values
CACHE_KEY
public static final String CACHE_KEY
- See Also:
- Constant Field Values
VALIDITY
public static final String VALIDITY
- See Also:
- Constant Field Values
JXTemplateGenerator
public JXTemplateGenerator()
getConsumer
public org.apache.cocoon.xml.XMLConsumer getConsumer()
service
public void service(ServiceManager manager)
throws ServiceException
- Specified by:
service
in interface Serviceable
- Overrides:
service
in class org.apache.cocoon.generation.ServiceableGenerator
- Throws:
ServiceException
- See Also:
ServiceableGenerator.service(org.apache.avalon.framework.service.ServiceManager)
dispose
public void dispose()
- Specified by:
dispose
in interface Disposable
- Overrides:
dispose
in class org.apache.cocoon.generation.ServiceableGenerator
- See Also:
ServiceableGenerator.dispose()
recycle
public void recycle()
- Specified by:
recycle
in interface Recyclable
- Overrides:
recycle
in class org.apache.cocoon.generation.AbstractGenerator
- See Also:
AbstractGenerator.recycle()
setup
public void setup(org.apache.cocoon.environment.SourceResolver resolver,
Map objectModel,
String src,
Parameters parameters)
throws org.apache.cocoon.ProcessingException,
SAXException,
IOException
- Specified by:
setup
in interface org.apache.cocoon.sitemap.SitemapModelComponent
- Overrides:
setup
in class org.apache.cocoon.generation.AbstractGenerator
- Throws:
org.apache.cocoon.ProcessingException
SAXException
IOException
- See Also:
AbstractGenerator.setup(org.apache.cocoon.environment.SourceResolver, java.util.Map, java.lang.String, org.apache.avalon.framework.parameters.Parameters)
generate
public void generate()
throws IOException,
SAXException,
org.apache.cocoon.ProcessingException
- Specified by:
generate
in interface org.apache.cocoon.generation.Generator
- Throws:
IOException
SAXException
org.apache.cocoon.ProcessingException
- See Also:
Generator.generate()
performGeneration
public void performGeneration(Event startEvent,
Event endEvent)
throws SAXException
- Throws:
SAXException
getKey
public Serializable getKey()
- Specified by:
getKey
in interface org.apache.cocoon.caching.CacheableProcessingComponent
- See Also:
CacheableProcessingComponent.getKey()
getValidity
public SourceValidity getValidity()
- Specified by:
getValidity
in interface org.apache.cocoon.caching.CacheableProcessingComponent
- See Also:
CacheableProcessingComponent.getValidity()
Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.