| org.apache.cocoon.components.treeprocessor.TreeProcessor
TreeProcessor | public class TreeProcessor extends AbstractLogEnabled implements ThreadSafe,Processor,Composable,Configurable,RoleManageable,Contextualizable,Disposable(Code) | | Interpreted tree-traversal implementation of a pipeline assembly language.
author: Sylvain Wallez version: CVS $Id: TreeProcessor.java 540711 2007-05-22 19:36:07Z cziegeler $ |
COCOON_REDIRECT_ATTR | final public static String COCOON_REDIRECT_ATTR(Code) | | |
checkReload | protected boolean checkReload(Code) | | Check for reload?
|
concreteProcessor | ConcreteTreeProcessor concreteProcessor(Code) | | The actual processor (package-private as needs to be accessed by ConcreteTreeProcessor)
|
context | protected Context context(Code) | | The context
|
currentLanguage | protected Configuration currentLanguage(Code) | | The current language configuration
|
lastModified | protected long lastModified(Code) | | Last modification time
|
lastModifiedDelay | protected long lastModifiedDelay(Code) | | Delay for sourceLastModified .
|
manager | protected ComponentManager manager(Code) | | The component manager
|
resolver | protected SourceResolver resolver(Code) | | The source resolver
|
roleManager | protected RoleManager roleManager(Code) | | The role manager
|
TreeProcessor | public TreeProcessor()(Code) | | Create a TreeProcessor.
|
TreeProcessor | protected TreeProcessor(TreeProcessor parent, ComponentManager manager)(Code) | | Create a child processor for a given language
|
compose | public void compose(ComponentManager manager) throws ComponentException(Code) | | |
configure | public void configure(Configuration config) throws ConfigurationException(Code) | | |
contextualize | public void contextualize(Context context) throws ContextException(Code) | | |
createChildProcessor | public TreeProcessor createChildProcessor(ComponentManager manager, String actualSource, boolean checkReload) throws Exception(Code) | | Create a new child of this processor (used for mounting submaps).
Parameters: manager - the component manager to be used by the child processor. a new child processor. |
dispose | public void dispose()(Code) | | |
getComponentConfigurations | public Map getComponentConfigurations()(Code) | | |
process | public boolean process(Environment environment) throws Exception(Code) | | Process the given Environment producing the output.
If the processing is successfull true is returned.If not match is found in the sitemap false is returned. throws: org.apache.cocoon.ResourceNotFoundException - If a sitemap component triesto access a resource which can notbe found, e.g. the generatorConnectionResetException If the connection was reset |
setComponentConfigurations | public void setComponentConfigurations(Configuration componentConfigurations)(Code) | | Set the sitemap component configurations
|
setRoleManager | public void setRoleManager(RoleManager rm)(Code) | | |
|
|