This project has retired. For details please refer to its
Attic page.
XSPGenerator (Cocoon API 2.1.12-dev [March 20 2012])
org.apache.cocoon.components.language.markup.xsp
Class XSPGenerator
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.xml.AbstractXMLProducer
org.apache.cocoon.generation.AbstractGenerator
org.apache.cocoon.generation.ComposerGenerator
org.apache.cocoon.generation.ServletGenerator
org.apache.cocoon.generation.AbstractServerPage
org.apache.cocoon.components.language.markup.xsp.XSPGenerator
- All Implemented Interfaces:
- Poolable, Recyclable, Disposable, Component, Composable, Recomposable, Contextualizable, LogEnabled, Cacheable, CacheableProcessingComponent, CompiledComponent, Generator, Modifiable, SitemapModelComponent, XMLProducer
- Direct Known Subclasses:
- JSGenerator, PythonGenerator
public abstract class XSPGenerator
- extends AbstractServerPage
- implements Contextualizable
Base class for XSP-generated ServerPagesGenerator classes
- Version:
- $Id: XSPGenerator.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Ricardo Rocha
| Fields inherited from interface org.apache.cocoon.generation.Generator |
ROLE |
| Methods inherited from class org.apache.cocoon.generation.AbstractServerPage |
attribute, characters, comment, end, generateKey, generateValidity, getKey, getValidity, hasContentChanged, modifiedSince, recompose, start |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
avalonContext
protected Context avalonContext
XSPGenerator
public XSPGenerator()
contextualize
public void contextualize(Context context)
throws ContextException
- Contextualize this class
- Specified by:
contextualize in interface Contextualizable
- Throws:
ContextException
compose
public void compose(ComponentManager manager)
throws ComponentException
- Set the current
ComponentManager instance used by this
Generator and initialize relevant instance variables.
- Specified by:
compose in interface Composable- Overrides:
compose in class ComposerGenerator
- Parameters:
manager - The global component manager
- Throws:
ComponentException
xspCharacters
public void xspCharacters(String data)
throws SAXException
- Add character data
- Parameters:
data - The character data
- Throws:
SAXException
xspComment
public void xspComment(String comment)
throws SAXException
- Add a comment
- Parameters:
comment - The comment data
- Throws:
SAXException
xspExpr
public void xspExpr(Object v)
throws SAXException
- Implementation of <xsp:expr> for String, Collection,
XMLizable, Node, and Object.
- Parameters:
v - the value
- Throws:
SAXException
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.