org.apache.cocoon.sitemap.impl
Class DefaultExecutor

java.lang.Object
  extended byorg.apache.cocoon.sitemap.impl.DefaultExecutor
All Implemented Interfaces:
org.apache.cocoon.sitemap.SitemapExecutor

public class DefaultExecutor
extends Object
implements org.apache.cocoon.sitemap.SitemapExecutor

This is the default executor that does nothing but just executing the statements. TODO - This is not finished yet!

Since:
2.2
Version:
$Id: DefaultExecutor.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Nested Class Summary
 
Nested classes inherited from class org.apache.cocoon.sitemap.SitemapExecutor
org.apache.cocoon.sitemap.SitemapExecutor.PipelineComponentDescription
 
Field Summary
 
Fields inherited from interface org.apache.cocoon.sitemap.SitemapExecutor
ROLE
 
Constructor Summary
DefaultExecutor()
           
 
Method Summary
 org.apache.cocoon.sitemap.SitemapExecutor.PipelineComponentDescription addGenerator(org.apache.cocoon.sitemap.ExecutionContext context, Map objectModel, org.apache.cocoon.sitemap.SitemapExecutor.PipelineComponentDescription desc)
           
 org.apache.cocoon.sitemap.SitemapExecutor.PipelineComponentDescription addReader(org.apache.cocoon.sitemap.ExecutionContext context, Map objectModel, org.apache.cocoon.sitemap.SitemapExecutor.PipelineComponentDescription desc)
           
 org.apache.cocoon.sitemap.SitemapExecutor.PipelineComponentDescription addSerializer(org.apache.cocoon.sitemap.ExecutionContext context, Map objectModel, org.apache.cocoon.sitemap.SitemapExecutor.PipelineComponentDescription desc)
           
 org.apache.cocoon.sitemap.SitemapExecutor.PipelineComponentDescription addTransformer(org.apache.cocoon.sitemap.ExecutionContext context, Map objectModel, org.apache.cocoon.sitemap.SitemapExecutor.PipelineComponentDescription desc)
           
 org.apache.cocoon.sitemap.SitemapExecutor.PipelineComponentDescription enteringPipeline(org.apache.cocoon.sitemap.ExecutionContext context, Map objectModel, org.apache.cocoon.sitemap.SitemapExecutor.PipelineComponentDescription desc)
           
 void enterSitemap(org.apache.cocoon.sitemap.ExecutionContext context, Map objectModel, String source)
           
 Map invokeAction(org.apache.cocoon.sitemap.ExecutionContext context, Map objectModel, org.apache.cocoon.acting.Action action, org.apache.cocoon.environment.Redirector redirector, org.apache.cocoon.environment.SourceResolver resolver, String resolvedSource, Parameters resolvedParams)
           
 Map invokeMatcher(org.apache.cocoon.sitemap.ExecutionContext context, Map objectModel, org.apache.cocoon.matching.Matcher matcher, String pattern, Parameters resolvedParams)
           
 Map invokePreparableMatcher(org.apache.cocoon.sitemap.ExecutionContext context, Map objectModel, org.apache.cocoon.matching.PreparableMatcher matcher, String pattern, Object preparedPattern, Parameters resolvedParams)
           
 boolean invokeSelector(org.apache.cocoon.sitemap.ExecutionContext context, Map objectModel, org.apache.cocoon.selection.Selector selector, String expression, Parameters parameters)
           
 boolean invokeSwitchSelector(org.apache.cocoon.sitemap.ExecutionContext context, Map objectModel, org.apache.cocoon.selection.SwitchSelector selector, String expression, Parameters parameters, Object selectorContext)
           
 void leaveSitemap(org.apache.cocoon.sitemap.ExecutionContext context, Map objectModel)
           
 void popVariables(org.apache.cocoon.sitemap.ExecutionContext context, Map objectModel)
           
 Map pushVariables(org.apache.cocoon.sitemap.ExecutionContext context, Map objectModel, String key, Map variables)
           
 String redirectTo(org.apache.cocoon.sitemap.ExecutionContext context, Map objectModel, String uri, boolean createSession, boolean global, boolean permanent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultExecutor

public DefaultExecutor()
Method Detail

invokeAction

public Map invokeAction(org.apache.cocoon.sitemap.ExecutionContext context,
                        Map objectModel,
                        org.apache.cocoon.acting.Action action,
                        org.apache.cocoon.environment.Redirector redirector,
                        org.apache.cocoon.environment.SourceResolver resolver,
                        String resolvedSource,
                        Parameters resolvedParams)
                 throws Exception
Specified by:
invokeAction in interface org.apache.cocoon.sitemap.SitemapExecutor
Throws:
Exception
See Also:
SitemapExecutor.invokeAction(org.apache.cocoon.sitemap.ExecutionContext, java.util.Map, org.apache.cocoon.acting.Action, org.apache.cocoon.environment.Redirector, org.apache.cocoon.environment.SourceResolver, java.lang.String, org.apache.avalon.framework.parameters.Parameters)

invokeMatcher

public Map invokeMatcher(org.apache.cocoon.sitemap.ExecutionContext context,
                         Map objectModel,
                         org.apache.cocoon.matching.Matcher matcher,
                         String pattern,
                         Parameters resolvedParams)
                  throws org.apache.cocoon.sitemap.PatternException
Specified by:
invokeMatcher in interface org.apache.cocoon.sitemap.SitemapExecutor
Throws:
org.apache.cocoon.sitemap.PatternException
See Also:
SitemapExecutor.invokeMatcher(org.apache.cocoon.sitemap.ExecutionContext, java.util.Map, org.apache.cocoon.matching.Matcher, java.lang.String, org.apache.avalon.framework.parameters.Parameters)

invokePreparableMatcher

public Map invokePreparableMatcher(org.apache.cocoon.sitemap.ExecutionContext context,
                                   Map objectModel,
                                   org.apache.cocoon.matching.PreparableMatcher matcher,
                                   String pattern,
                                   Object preparedPattern,
                                   Parameters resolvedParams)
                            throws org.apache.cocoon.sitemap.PatternException
Specified by:
invokePreparableMatcher in interface org.apache.cocoon.sitemap.SitemapExecutor
Throws:
org.apache.cocoon.sitemap.PatternException
See Also:
SitemapExecutor.invokePreparableMatcher(org.apache.cocoon.sitemap.ExecutionContext, java.util.Map, org.apache.cocoon.matching.PreparableMatcher, java.lang.String, java.lang.Object, org.apache.avalon.framework.parameters.Parameters)

invokeSelector

public boolean invokeSelector(org.apache.cocoon.sitemap.ExecutionContext context,
                              Map objectModel,
                              org.apache.cocoon.selection.Selector selector,
                              String expression,
                              Parameters parameters)
Specified by:
invokeSelector in interface org.apache.cocoon.sitemap.SitemapExecutor
See Also:
SitemapExecutor.invokeSelector(org.apache.cocoon.sitemap.ExecutionContext, java.util.Map, org.apache.cocoon.selection.Selector, java.lang.String, org.apache.avalon.framework.parameters.Parameters)

invokeSwitchSelector

public boolean invokeSwitchSelector(org.apache.cocoon.sitemap.ExecutionContext context,
                                    Map objectModel,
                                    org.apache.cocoon.selection.SwitchSelector selector,
                                    String expression,
                                    Parameters parameters,
                                    Object selectorContext)
Specified by:
invokeSwitchSelector in interface org.apache.cocoon.sitemap.SitemapExecutor
See Also:
SitemapExecutor.invokeSwitchSelector(org.apache.cocoon.sitemap.ExecutionContext, java.util.Map, org.apache.cocoon.selection.SwitchSelector, java.lang.String, org.apache.avalon.framework.parameters.Parameters, Object)

popVariables

public void popVariables(org.apache.cocoon.sitemap.ExecutionContext context,
                         Map objectModel)
Specified by:
popVariables in interface org.apache.cocoon.sitemap.SitemapExecutor
See Also:
SitemapExecutor.popVariables(org.apache.cocoon.sitemap.ExecutionContext, java.util.Map)

pushVariables

public Map pushVariables(org.apache.cocoon.sitemap.ExecutionContext context,
                         Map objectModel,
                         String key,
                         Map variables)
Specified by:
pushVariables in interface org.apache.cocoon.sitemap.SitemapExecutor
See Also:
SitemapExecutor.pushVariables(org.apache.cocoon.sitemap.ExecutionContext, java.util.Map, java.lang.String, java.util.Map)

enterSitemap

public void enterSitemap(org.apache.cocoon.sitemap.ExecutionContext context,
                         Map objectModel,
                         String source)
Specified by:
enterSitemap in interface org.apache.cocoon.sitemap.SitemapExecutor
See Also:
SitemapExecutor.enterSitemap(org.apache.cocoon.sitemap.ExecutionContext, java.util.Map, java.lang.String)

addGenerator

public org.apache.cocoon.sitemap.SitemapExecutor.PipelineComponentDescription addGenerator(org.apache.cocoon.sitemap.ExecutionContext context,
                                                                                           Map objectModel,
                                                                                           org.apache.cocoon.sitemap.SitemapExecutor.PipelineComponentDescription desc)
Specified by:
addGenerator in interface org.apache.cocoon.sitemap.SitemapExecutor
See Also:
SitemapExecutor.addGenerator(org.apache.cocoon.sitemap.ExecutionContext, java.util.Map, org.apache.cocoon.sitemap.SitemapExecutor.PipelineComponentDescription)

addReader

public org.apache.cocoon.sitemap.SitemapExecutor.PipelineComponentDescription addReader(org.apache.cocoon.sitemap.ExecutionContext context,
                                                                                        Map objectModel,
                                                                                        org.apache.cocoon.sitemap.SitemapExecutor.PipelineComponentDescription desc)
Specified by:
addReader in interface org.apache.cocoon.sitemap.SitemapExecutor
See Also:
SitemapExecutor.addReader(org.apache.cocoon.sitemap.ExecutionContext, java.util.Map, org.apache.cocoon.sitemap.SitemapExecutor.PipelineComponentDescription)

addSerializer

public org.apache.cocoon.sitemap.SitemapExecutor.PipelineComponentDescription addSerializer(org.apache.cocoon.sitemap.ExecutionContext context,
                                                                                            Map objectModel,
                                                                                            org.apache.cocoon.sitemap.SitemapExecutor.PipelineComponentDescription desc)
Specified by:
addSerializer in interface org.apache.cocoon.sitemap.SitemapExecutor
See Also:
SitemapExecutor.addSerializer(org.apache.cocoon.sitemap.ExecutionContext, java.util.Map, org.apache.cocoon.sitemap.SitemapExecutor.PipelineComponentDescription)

addTransformer

public org.apache.cocoon.sitemap.SitemapExecutor.PipelineComponentDescription addTransformer(org.apache.cocoon.sitemap.ExecutionContext context,
                                                                                             Map objectModel,
                                                                                             org.apache.cocoon.sitemap.SitemapExecutor.PipelineComponentDescription desc)
Specified by:
addTransformer in interface org.apache.cocoon.sitemap.SitemapExecutor
See Also:
SitemapExecutor.addTransformer(org.apache.cocoon.sitemap.ExecutionContext, java.util.Map, org.apache.cocoon.sitemap.SitemapExecutor.PipelineComponentDescription)

leaveSitemap

public void leaveSitemap(org.apache.cocoon.sitemap.ExecutionContext context,
                         Map objectModel)
Specified by:
leaveSitemap in interface org.apache.cocoon.sitemap.SitemapExecutor
See Also:
SitemapExecutor.leaveSitemap(org.apache.cocoon.sitemap.ExecutionContext, java.util.Map)

redirectTo

public String redirectTo(org.apache.cocoon.sitemap.ExecutionContext context,
                         Map objectModel,
                         String uri,
                         boolean createSession,
                         boolean global,
                         boolean permanent)
Specified by:
redirectTo in interface org.apache.cocoon.sitemap.SitemapExecutor
See Also:
SitemapExecutor.redirectTo(org.apache.cocoon.sitemap.ExecutionContext, java.util.Map, java.lang.String, boolean, boolean, boolean)

enteringPipeline

public org.apache.cocoon.sitemap.SitemapExecutor.PipelineComponentDescription enteringPipeline(org.apache.cocoon.sitemap.ExecutionContext context,
                                                                                               Map objectModel,
                                                                                               org.apache.cocoon.sitemap.SitemapExecutor.PipelineComponentDescription desc)
Specified by:
enteringPipeline in interface org.apache.cocoon.sitemap.SitemapExecutor
See Also:
SitemapExecutor.enteringPipeline(org.apache.cocoon.sitemap.ExecutionContext, java.util.Map, org.apache.cocoon.sitemap.SitemapExecutor.PipelineComponentDescription)


Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.