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.ServletGenerator
org.apache.cocoon.generation.AbstractServerPage
org.apache.cocoon.components.language.markup.xsp.XSPGenerator
- All Implemented Interfaces:
- CacheableProcessingComponent, CompiledComponent, Contextualizable, Disposable, Generator, LogEnabled, Modifiable, Poolable, Recyclable, Serviceable, SitemapModelComponent, XMLProducer
- Direct Known Subclasses:
- JSGenerator, PythonGenerator
- public abstract class XSPGenerator
- extends AbstractServerPage
- implements CompiledComponent, Contextualizable
Base class for XSP-generated ServerPagesGenerator
classes
- Version:
- CVS $Id: XSPGenerator.java 55257 2004-10-21 20:36:33Z cziegeler $
- Author:
- Ricardo Rocha
Fields inherited from interface org.apache.cocoon.generation.Generator |
ROLE |
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
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-2005 The Apache Software Foundation. All Rights Reserved.