|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Nested Class Summary | |
static class |
Processor.InternalPipelineDescription
Keeps together processing pipeline, its owners, and environment state variables. |
Field Summary | |
static String |
ROLE
The role of the root processor |
Method Summary | |
Processor.InternalPipelineDescription |
buildPipeline(org.apache.cocoon.environment.Environment environment)
Process the given Environment to assemble
a ProcessingPipeline . |
Object |
getAttribute(String name)
Gets an attribute |
String |
getContext()
Get the context URI for this processor |
Processor |
getParent()
Get the parent processor (if any). |
Processor |
getRootProcessor()
Get the root processor parent of this processor. |
org.apache.cocoon.environment.SourceResolver |
getSourceResolver()
Get the source resolver for this processor |
boolean |
process(org.apache.cocoon.environment.Environment environment)
Process the given Environment producing the output. |
Object |
removeAttribute(String name)
Remove an attribute. |
void |
setAttribute(String name,
Object value)
Sets an attribute |
Field Detail |
public static final String ROLE
Method Detail |
public boolean process(org.apache.cocoon.environment.Environment environment) throws Exception
Environment
producing the output.
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 Processor.InternalPipelineDescription buildPipeline(org.apache.cocoon.environment.Environment environment) throws Exception
Environment
to assemble
a ProcessingPipeline
.
Don't forget to release the pipeline using
Processor.InternalPipelineDescription.release()
.
Exception
public Processor getRootProcessor()
public org.apache.cocoon.environment.SourceResolver getSourceResolver()
public String getContext()
public void setAttribute(String name, Object value)
public Object getAttribute(String name)
public Object removeAttribute(String name)
public Processor getParent()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |