Save This Page
Home » cocoon-2.1.11-src » org.apache » cocoon » components » treeprocessor » sitemap » [javadoc | source]
org.apache.cocoon.components.treeprocessor.sitemap
public class: SitemapLanguage [javadoc | source]
java.lang.Object
   org.apache.avalon.framework.logger.AbstractLogEnabled
      org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder
         org.apache.cocoon.components.treeprocessor.sitemap.SitemapLanguage

All Implemented Interfaces:
    org.apache.avalon.framework.activity.Disposable, org.apache.avalon.excalibur.pool.Recyclable, org.apache.avalon.excalibur.component.RoleManageable, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.context.Contextualizable, org.apache.avalon.framework.component.Recomposable, TreeBuilder

The tree builder for the sitemap language.
Field Summary
public static final  String FIRST_POS_LABEL    Pseudo-label for views from-position="first" (i.e. generator). 
public static final  String LAST_POS_LABEL    Pseudo-label for views from-position="last" (i.e. serializer). 
Fields inherited from org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder:
attributes,  processor,  context,  parentManager,  parentRoleManager,  configuration,  manager,  roleManager,  builderSelector,  lifecycle,  namespace,  parameterElement,  languageName,  fileName
Method from org.apache.cocoon.components.treeprocessor.sitemap.SitemapLanguage Summary:
addViewForLabel,   createComponentManager,   getHintsForStatement,   getViewNodes,   getViewsForStatement,   isBuildingErrorHandler,   isBuildingView,   linkNodes,   recycle,   setBuildingErrorHandler,   setBuildingView
Methods from org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder:
build,   build,   compose,   configure,   contextualize,   createBuilderSelector,   createComponentManager,   createNodeBuilder,   createRoleManager,   createTree,   dispose,   getAttribute,   getDisposableNodes,   getFileName,   getLanguage,   getLocation,   getNamespace,   getParameterName,   getParameters,   getProcessor,   getRegisteredNode,   getSitemapComponentManager,   getTypeForStatement,   linkNodes,   recompose,   recycle,   registerNode,   setAttribute,   setProcessor,   setRoleManager,   setupNode
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cocoon.components.treeprocessor.sitemap.SitemapLanguage Detail:
 public  void addViewForLabel(String label,
    String view) 
    Add a view for a label. This is used to register all views that start from a given label.
 protected ComponentManager createComponentManager(Configuration tree) throws Exception 
    Build a component manager with the contents of the <map:components> element of the tree.
 public Map getHintsForStatement(String role,
    String hint,
    Configuration statement) throws Exception 
    Extract pipeline-hints from the given statement (if any exist)
 public Map getViewNodes(Collection viewNames) throws Exception 
    Get the {view name, view node} map for a collection of view names. This allows to resolve view nodes at build time, thus avoiding runtime lookup.
 public Collection getViewsForStatement(String role,
    String hint,
    Configuration statement) throws Exception 
    Get the names of views for a given statement. If the cocoon view exists in the returned collection, the statement can directly branch to the view-handling node.
 public boolean isBuildingErrorHandler() 
    Are we currently building an error handler ?
 public boolean isBuildingView() 
    Are we currently building a view ?
 protected  void linkNodes() throws Exception 
 public  void recycle() 
 public  void setBuildingErrorHandler(boolean building) 
    Set to true while building the internals of a <map:handle-errors>
 public  void setBuildingView(boolean building) 
    Set to true while building the internals of a <map:view>