org.apache.cocoon
Interface Processor
- All Known Subinterfaces:
- Sitemap
- All Known Implementing Classes:
- ProcessorWrapper, Cocoon, Handler
- public interface Processor
- Version:
- CVS $Revision: 1.1.1.1.2.4 $ $Date: 2001/10/11 08:56:04 $
- Author:
- Pierpaolo Fumagalli
(Apache Software Foundation, Exoffice Technologies)
Field Summary |
static java.lang.String |
ROLE
|
ROLE
public static final java.lang.String ROLE
process
public boolean process(Environment environment)
throws java.lang.Exception
- Process the given
Environment
producing the output.
- Returns:
- If the processing is successfull
true
is returned.
If not match is found in the sitemap false
is returned. - Throws:
ResourceNotFoundException
- If a sitemap component tries
to access a resource which can not
be found, e.g. the generator
ConnectionResetException If the connection was reset
process
public boolean process(Environment environment,
StreamPipeline pipeline,
EventPipeline eventPipeline)
throws java.lang.Exception
- Process the given
Environment
to assemble
a StreamPipeline
and an EventPipeline
.
Copyright © 1999-2001 Apache Software Foundation. All Rights Reserved.