|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.components.blocks.BlockProcessor
| Nested Class Summary |
| Nested classes inherited from class org.apache.cocoon.Processor |
Processor.InternalPipelineDescription |
| Field Summary | |
protected Map |
processorAttributes
Processor attributes |
| Fields inherited from interface org.apache.cocoon.Processor |
ROLE |
| Constructor Summary | |
BlockProcessor()
|
|
| Method Summary | |
Processor.InternalPipelineDescription |
buildPipeline(Environment environment)
Process the given Environment to assemble
a ProcessingPipeline.
|
void |
configure(Configuration config)
|
void |
contextualize(Context context)
|
void |
dispose()
|
Object |
getAttribute(String name)
Gets an attribute |
Configuration[] |
getComponentConfigurations()
Get the sitemap component configurations |
String |
getContext()
Get the context URI for this processor |
Processor |
getRootProcessor()
Get the root processor parent of this processor. |
SourceResolver |
getSourceResolver()
Get the source resolver for this processor |
void |
initialize()
|
boolean |
process(Environment environment)
Process the given Environment producing the output. |
Object |
removeAttribute(String name)
Remove an attribute. |
void |
service(ServiceManager manager)
|
void |
setAttribute(String name,
Object value)
Sets an attribute |
| Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected Map processorAttributes
| Constructor Detail |
public BlockProcessor()
| Method Detail |
public void service(ServiceManager manager)
throws ServiceException
service in interface ServiceableServiceException
public void contextualize(Context context)
throws ContextException
contextualize in interface ContextualizableContextException
public void configure(Configuration config)
throws ConfigurationException
configure in interface ConfigurableConfigurationException
public void initialize()
throws Exception
initialize in interface InitializableExceptionpublic void dispose()
dispose in interface Disposable
public boolean process(Environment environment)
throws Exception
ProcessorEnvironment producing the output.
process in interface Processortrue is returned.
If no match is found in the sitemap false
is returned.
Exception
public Processor.InternalPipelineDescription buildPipeline(Environment environment)
throws Exception
ProcessorEnvironment to assemble
a ProcessingPipeline.
Don't forget to release the pipeline using
Processor.InternalPipelineDescription.release().
buildPipeline in interface ProcessorExceptionpublic Configuration[] getComponentConfigurations()
Processor
getComponentConfigurations in interface Processorpublic Processor getRootProcessor()
Processor
getRootProcessor in interface Processorpublic SourceResolver getSourceResolver()
Processor
getSourceResolver in interface Processorpublic String getContext()
Processor
getContext in interface Processorpublic Object getAttribute(String name)
Processor
getAttribute in interface ProcessorProcessor.getAttribute(java.lang.String)public Object removeAttribute(String name)
Processor
removeAttribute in interface ProcessorProcessor.removeAttribute(java.lang.String)
public void setAttribute(String name,
Object value)
Processor
setAttribute in interface ProcessorProcessor.setAttribute(java.lang.String, java.lang.Object)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||