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/java/org/apache/cocoon/components/treeprocessor/sitemap CallNodeBuilder.java
Date Wed, 13 Mar 2002 17:42:22 GMT
ovidiu      02/03/13 09:42:22

  Modified:    src/java/org/apache/cocoon/components/treeprocessor/sitemap
                        CallNodeBuilder.java
  Log:
  Changed private access to protected. Changed type of 'node' from
  CallNode to ProcessingNode, to allow other types of 'call' semantics.
  
  Revision  Changes    Path
  1.2       +4 -7      xml-cocoon2/src/java/org/apache/cocoon/components/treeprocessor/sitemap/CallNodeBuilder.java
  
  Index: CallNodeBuilder.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/treeprocessor/sitemap/CallNodeBuilder.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CallNodeBuilder.java	5 Mar 2002 08:26:23 -0000	1.1
  +++ CallNodeBuilder.java	13 Mar 2002 17:42:22 -0000	1.2
  @@ -65,14 +65,14 @@
   /**
    *
    * @author <a href="mailto:sylvain@apache.org">Sylvain Wallez</a>
  - * @version CVS $Id: CallNodeBuilder.java,v 1.1 2002/03/05 08:26:23 sylvain Exp $
  + * @version CVS $Id: CallNodeBuilder.java,v 1.2 2002/03/13 17:42:22 ovidiu Exp $
    */
   
   public class CallNodeBuilder extends AbstractProcessingNodeBuilder
     implements LinkedProcessingNodeBuilder {
   
  -    private CallNode node;
  -    private String resourceName;
  +    protected ProcessingNode node;
  +    protected String resourceName;
   
       public ProcessingNode buildNode(Configuration config) throws Exception {
   
  @@ -92,9 +92,6 @@
               throw new ConfigurationException(msg);
           }
   
  -        this.node.setResource(
  -            resources,
  -            this.resourceName
  -        );
  +        ((CallNode)this.node).setResource(resources, this.resourceName);
       }
   }
  
  
  

----------------------------------------------------------------------
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