|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.ProcessorWrapper
public final class ProcessorWrapper
This class is a wrapper around the real processor (the Cocoon
class).
It is necessary to avoid infinite dispose loops
Field Summary |
---|
Fields inherited from interface org.apache.cocoon.Processor |
---|
ROLE |
Constructor Summary | |
---|---|
ProcessorWrapper(Processor processor)
Deprecated. |
Method Summary | |
---|---|
ProcessingPipeline |
buildPipeline(Environment environment)
Deprecated. Process the given Environment to assemble
a ProcessingPipeline . |
void |
dispose()
Deprecated. |
Map |
getComponentConfigurations()
Deprecated. Get the sitemap component configurations |
Processor |
getRootProcessor()
Deprecated. Get the root parent processor of this processor |
boolean |
process(Environment environment)
Deprecated. Process the given Environment producing the output |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProcessorWrapper(Processor processor)
Method Detail |
---|
public void dispose()
dispose
in interface Disposable
public boolean process(Environment environment) throws Exception
Environment
producing the output
process
in interface Processor
true
is returned.
If no match is found in the sitemap false
is returned.
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
Exception
public ProcessingPipeline buildPipeline(Environment environment) throws Exception
Environment
to assemble
a ProcessingPipeline
.
buildPipeline
in interface Processor
Exception
public Map getComponentConfigurations()
getComponentConfigurations
in interface Processor
public Processor getRootProcessor()
getRootProcessor
in interface Processor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |