|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.cocoon.util.AbstractLogEnabled
org.apache.cocoon.xml.AbstractXMLProducer
org.apache.cocoon.generation.AbstractGenerator
An abstract class that can be used to implement an own generator.
If you need other components, use the ServiceableGenerator
instead.
| Field Summary | |
protected Map |
objectModel
The current Map objectModel. |
protected Parameters |
parameters
The current Parameters. |
protected org.apache.cocoon.environment.SourceResolver |
resolver
The current SourceResolver. |
protected String |
source
The source URI associated with the request or null. |
| 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 | |
AbstractGenerator()
|
|
| Method Summary | |
void |
recycle()
Recycle the generator by removing references |
void |
setup(org.apache.cocoon.environment.SourceResolver resolver,
Map objectModel,
String src,
Parameters par)
Set the SourceResolver, object model Map,
the source and sitemap Parameters used to process the request. |
| 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.generation.Generator |
generate |
| Methods inherited from interface org.apache.cocoon.xml.XMLProducer |
setConsumer |
| Field Detail |
protected org.apache.cocoon.environment.SourceResolver resolver
SourceResolver.
protected Map objectModel
Map objectModel.
protected Parameters parameters
Parameters.
protected String source
| Constructor Detail |
public AbstractGenerator()
| Method Detail |
public void setup(org.apache.cocoon.environment.SourceResolver resolver,
Map objectModel,
String src,
Parameters par)
throws org.apache.cocoon.ProcessingException,
SAXException,
IOException
SourceResolver, object model Map,
the source and sitemap Parameters used to process the request.
setup in interface org.apache.cocoon.sitemap.SitemapModelComponentorg.apache.cocoon.ProcessingException
SAXException
IOExceptionpublic void recycle()
recycle in interface Recyclablerecycle in class AbstractXMLProducer
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||