| org.apache.cocoon.generation.AbstractGenerator org.apache.cocoon.generation.ServiceableGenerator org.apache.cocoon.generation.HttpProxyGenerator
HttpProxyGenerator | public class HttpProxyGenerator extends ServiceableGenerator implements Configurable(Code) | | The HttpProxyGenerator is a Cocoon generator using the
Jakarta Commons HTTPClient Library to access an XML stream
over HTTP.
author: Ivelin Ivanov, June 2002 author: Tony Collen, December 2002 author: Pier Fumagalli, February 2003 version: CVS $Id: HttpProxyGenerator.java 433543 2006-08-22 06:22:54Z crossley $ |
Method Summary | |
public void | configure(Configuration configuration) | public void | generate() Parse the remote InputStream accessed over HTTP. | public void | recycle() Recycle this instance, clearing all done during setup and generation, and reverting
back to what was configured in the sitemap. | public void | setup(SourceResolver sourceResolver, Map objectModel, String source, Parameters parameters) Setup this Generator with its runtime configurations and parameters
specified in the sitemap, and prepare it for generation. |
HttpProxyGenerator | public HttpProxyGenerator()(Code) | | Default (empty) constructor.
|
configure | public void configure(Configuration configuration) throws ConfigurationException(Code) | | Set up this Generator instance from its sitemap Configuration
Parameters: configuration - The base Configuration for this Generator . throws: ConfigurationException - If this instance cannot be configured properly. See Also: HttpProxyGenerator.recycle() |
setup | public void setup(SourceResolver sourceResolver, Map objectModel, String source, Parameters parameters) throws ProcessingException, SAXException, IOException(Code) | | Setup this Generator with its runtime configurations and parameters
specified in the sitemap, and prepare it for generation.
Parameters: sourceResolver - The SourceResolver instance resolving sources bysystem identifiers. Parameters: objectModel - The Cocoon "object model" Map Parameters: parameters - The runtime Parameters instance. throws: ProcessingException - If this instance could not be setup. throws: SAXException - If a SAX error occurred during setup. throws: IOException - If an I/O error occurred during setup. See Also: HttpProxyGenerator.recycle() |
Fields inherited from org.apache.cocoon.generation.ServiceableGenerator | protected ServiceManager manager(Code)(Java Doc)
|
Methods inherited from org.apache.cocoon.generation.ServiceableGenerator | public void dispose()(Code)(Java Doc) public void service(ServiceManager manager) throws ServiceException(Code)(Java Doc)
|
|
|