org.apache.cocoon.generation
Class PhpGenerator
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.PhpGenerator
- All Implemented Interfaces:
- Poolable, Recyclable, Disposable, Component, Composable, LogEnabled, Generator, SitemapModelComponent, XMLProducer
public class PhpGenerator
- extends ServletGenerator
Allows PHP to be used as a generator. Builds upon the PHP servlet
functionallity - overrides the output method in order to pipe the
results into SAX events.
- Version:
- CVS $Id: PhpGenerator.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Sam Ruby
Nested Class Summary |
class |
PhpGenerator.PhpServlet
Subclass the PHP servlet implementation, overriding the method
that produces the output. |
Fields inherited from interface org.apache.cocoon.generation.Generator |
ROLE |
Method Summary |
void |
generate()
Generate XML data from PHP. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PhpGenerator
public PhpGenerator()
generate
public void generate()
throws IOException,
SAXException,
ProcessingException
- Generate XML data from PHP.
- Throws:
IOException
SAXException
ProcessingException
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.