|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.xml.AbstractXMLProducer
org.apache.cocoon.generation.AbstractGenerator
org.apache.cocoon.generation.JellyGenerator
The JellyGenerator executes jelly scripts using the Jakarta Jelly engine as a Cocoon Generator.
Field Summary | |
protected org.apache.commons.jelly.JellyContext |
jellyContext
The Jelly Context |
protected org.apache.commons.jelly.impl.XMLParser |
jellyParser
The Jelly Parser |
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 |
Constructor Summary | |
JellyGenerator()
|
Method Summary | |
void |
generate()
Generate XML data from Jelly script. |
void |
recycle()
Recycle this component. |
void |
setup(SourceResolver resolver,
Map objectModel,
String src,
Parameters params)
Set the SourceResolver , object model Map ,
the source and sitemap Parameters used to process the request. |
protected void |
updateContext()
Update JellyContext with variables from request |
protected void |
updateContext(Parameters params)
Update JellyContext with variables from sitemap |
Methods inherited from class org.apache.cocoon.xml.AbstractXMLProducer |
setConsumer, setContentHandler, setLexicalHandler |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
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 |
Field Detail |
protected org.apache.commons.jelly.JellyContext jellyContext
protected org.apache.commons.jelly.impl.XMLParser jellyParser
Constructor Detail |
public JellyGenerator()
Method Detail |
public void recycle()
null
.
recycle
in interface Recyclable
recycle
in class AbstractGenerator
public void setup(SourceResolver resolver, Map objectModel, String src, Parameters params) throws ProcessingException, SAXException, IOException
AbstractGenerator
SourceResolver
, object model Map
,
the source and sitemap Parameters
used to process the request.
setup
in interface SitemapModelComponent
setup
in class AbstractGenerator
ProcessingException
SAXException
IOException
SitemapModelComponent.setup(SourceResolver, Map, String, Parameters)
public void generate() throws IOException, SAXException, ProcessingException
IOException
SAXException
ProcessingException
protected void updateContext(Parameters params) throws ProcessingException
ProcessingException
protected void updateContext() throws ProcessingException
ProcessingException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |