|
|||||||||||
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 Serviceable
ServiceException
public void contextualize(Context context) throws ContextException
contextualize
in interface Contextualizable
ContextException
public void configure(Configuration config) throws ConfigurationException
configure
in interface Configurable
ConfigurationException
public void initialize() throws Exception
initialize
in interface Initializable
Exception
public void dispose()
dispose
in interface Disposable
public boolean process(Environment environment) throws Exception
Processor
Environment
producing the output.
process
in interface Processor
true
is returned.
If no match is found in the sitemap false
is returned.
Exception
public Processor.InternalPipelineDescription buildPipeline(Environment environment) throws Exception
Processor
Environment
to assemble
a ProcessingPipeline
.
Don't forget to release the pipeline using
Processor.InternalPipelineDescription.release()
.
buildPipeline
in interface Processor
Exception
public Configuration[] getComponentConfigurations()
Processor
getComponentConfigurations
in interface Processor
public Processor getRootProcessor()
Processor
getRootProcessor
in interface Processor
public SourceResolver getSourceResolver()
Processor
getSourceResolver
in interface Processor
public String getContext()
Processor
getContext
in interface Processor
public Object getAttribute(String name)
Processor
getAttribute
in interface Processor
Processor.getAttribute(java.lang.String)
public Object removeAttribute(String name)
Processor
removeAttribute
in interface Processor
Processor.removeAttribute(java.lang.String)
public void setAttribute(String name, Object value)
Processor
setAttribute
in interface Processor
Processor.setAttribute(java.lang.String, java.lang.Object)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |