cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ovi...@apache.org
Subject cvs commit: xml-cocoon2/src/scratchpad/schecoon/src/org/apache/cocoon/components/treeprocessor treeprocessor-builtins2.xml
Date Wed, 13 Mar 2002 19:03:12 GMT
ovidiu      02/03/13 11:03:12

  Added:       src/scratchpad/schecoon/src/org/apache/cocoon/components/treeprocessor
                        treeprocessor-builtins2.xml
  Log:
  Configuration file for the tree processor sitemap interpreter that
  includes extensions to call functions of the flow control layer.
  
  Revision  Changes    Path
  1.1                  xml-cocoon2/src/scratchpad/schecoon/src/org/apache/cocoon/components/treeprocessor/treeprocessor-builtins2.xml
  
  Index: treeprocessor-builtins2.xml
  ===================================================================
  <tree-processor>
    <!-- The sitemap language -->
    <language name="sitemap" class="org.apache.cocoon.components.treeprocessor.sitemap.SitemapLanguage">
    
      <!-- Namespace for this language -->
      <namespace uri="http://apache.org/cocoon/sitemap/1.0"/>
    
      <!-- File name for files in this language, relative to the environment prefix -->
      <file name="sitemap.xmap"/>
      
      <!-- Description of the element for nodes parameters -->
      <parameter element="parameter"/>
      
      <!-- roles for the sitemap language -->
      <roles>
        <role name="org.apache.cocoon.acting.ActionSelector"
              shorthand="actions"
              default-class="org.apache.cocoon.components.treeprocessor.sitemap.ComponentsSelector"/>
        
        <role name="org.apache.cocoon.selection.SelectorSelector"
              shorthand="selectors"
              default-class="org.apache.cocoon.components.treeprocessor.sitemap.ComponentsSelector"/>
        
        <role name="org.apache.cocoon.matching.MatcherSelector"
              shorthand="matchers"
              default-class="org.apache.cocoon.components.treeprocessor.sitemap.ComponentsSelector">
  
          <hint shorthand="regexp-uri-matcher"
                class="org.apache.cocoon.matching.RegexpURIMatcher"/>
  
          <hint shorthand="wildcard-uri-matcher"
                class="org.apache.cocoon.matching.WildcardURIMatcher"/>
  
        </role>
        
        <role name="org.apache.cocoon.generation.GeneratorSelector"
              shorthand="generators"
              default-class="org.apache.cocoon.components.treeprocessor.sitemap.ComponentsSelector">
  
          <hint shorthand="file-generator"
                class="org.apache.cocoon.generation.FileGenerator"/>
  
          <hint shorthand="XSP-generator"
                class="org.apache.cocoon.generation.ServerPagesGenerator"/>
        </role>
        
        <role name="org.apache.cocoon.transformation.TransformerSelector"
              shorthand="transformers"
              default-class="org.apache.cocoon.components.treeprocessor.sitemap.ComponentsSelector">
  
          <hint shorthand="XSLT-transformer"
                class="org.apache.cocoon.transformation.TraxTransformer"/>
  
          <hint shorthand="cinclude-transformer"
                class="org.apache.cocoon.transformation.CIncludeTransformer"/>
  
        </role>
        
        <role name="org.apache.cocoon.serialization.SerializerSelector"
              shorthand="serializers"
              default-class="org.apache.cocoon.components.treeprocessor.sitemap.ComponentsSelector"/>
        
        <role name="org.apache.cocoon.reading.ReaderSelector"
              shorthand="readers"
              default-class="org.apache.cocoon.components.treeprocessor.sitemap.ComponentsSelector"/>
            
        <role name="org.apache.cocoon.components.notification.NotifyingBuilder"
              shorthand="notifying-builder"
              default-class="org.apache.cocoon.components.notification.DefaultNotifyingBuilder"/>
 
  
  <!--
        <role name="org.apache.cocoon.components.flow.Interpreter"
              shorthand="flow-interpreters"
              default-class="org.apache.cocoon.components.flow.InterpreterSelector">
  
          <hint shorthand="JavaScript"
                class="org.apache.cocoon.components.flow.JavaScriptInterpreter"/>
        </role>
  -->
  
      </roles>
      
      <!-- node definitions for the sitemap language -->
      <nodes>
        <!-- All node names are given as local names in the above namespace (no prefix)
-->
        
        <!-- Sitemap root node -->
        <node name="sitemap" builder="org.apache.cocoon.components.treeprocessor.sitemap.SitemapNodeBuilder">
          <allowed-children>components, views, action-sets, resources, pipelines</allowed-children>
        </node>
      
        <!-- Components definition : parse view info associated to components
             (actual components creation is done by SitemapLanguage) -->
        <node name="components" builder="org.apache.cocoon.components.treeprocessor.sitemap.ComponentsNodeBuilder"/>
        
        <node name="pipelines" builder="org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNodeBuilder">
          <allowed-children>pipeline</allowed-children>
        </node>
        
        <node name="views" builder="org.apache.cocoon.components.treeprocessor.CategoryNodeBuilder"/>
        
        <node name="view" builder="org.apache.cocoon.components.treeprocessor.sitemap.ViewNodeBuilder"/>
        
        <node name="resources" builder="org.apache.cocoon.components.treeprocessor.CategoryNodeBuilder"/>
        
        <node name="resource" builder="org.apache.cocoon.components.treeprocessor.NamedContainerNodeBuilder"/>
        
        <node name="action-sets" builder="org.apache.cocoon.components.treeprocessor.CategoryNodeBuilder"/>
        
        <node name="action-set" builder="org.apache.cocoon.components.treeprocessor.sitemap.ActionSetNodeBuilder"/>
  
        <node name="pipeline" builder="org.apache.cocoon.components.treeprocessor.sitemap.PipelineNodeBuilder">
          <forbidden-children>sitemap, components, pipelines</forbidden-children>
        </node>
        
        <node name="match" builder="org.apache.cocoon.components.treeprocessor.sitemap.MatchNodeBuilder">
          <forbidden-children>sitemap, components, pipeline, handle-errors</forbidden-children>
        </node>
  
        <node name="select" builder="org.apache.cocoon.components.treeprocessor.sitemap.SelectNodeBuilder"/>
  
        <node name="act" builder="org.apache.cocoon.components.treeprocessor.sitemap.ActNodeBuilder">
          <forbidden-children>sitemap, components, pipeline, handle-errors</forbidden-children>
        </node>
  
        <node name="redirect-to" builder="org.apache.cocoon.components.treeprocessor.sitemap.RedirectToNodeBuilder"/>
        
        <node name="call" builder="org.apache.cocoon.components.treeprocessor.sitemap.CallNodeBuilder2"/>
  
        <node name="mount" builder="org.apache.cocoon.components.treeprocessor.sitemap.MountNodeBuilder"/>
  
        <node name="read" builder="org.apache.cocoon.components.treeprocessor.sitemap.ReadNodeBuilder"/>
  
        <node name="aggregate" builder="org.apache.cocoon.components.treeprocessor.sitemap.AggregateNodeBuilder"/>
  
        <node name="generate" builder="org.apache.cocoon.components.treeprocessor.sitemap.GenerateNodeBuilder"/>
  
        <node name="transform" builder="org.apache.cocoon.components.treeprocessor.sitemap.TransformNodeBuilder"/>
  
        <node name="serialize" builder="org.apache.cocoon.components.treeprocessor.sitemap.SerializeNodeBuilder"/>
  
        <node name="script" builder="org.apache.cocoon.components.treeprocessor.sitemap.ScriptNodeBuilder"/>
  
        <node name="handle-errors" builder="org.apache.cocoon.components.treeprocessor.sitemap.HandleErrorsNodeBuilder"/>
  
      </nodes>
      
    </language>
  
  </tree-processor>
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message