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/flow AbstractInterpreter.java
Date Mon, 18 Mar 2002 06:37:23 GMT
ovidiu      02/03/17 22:37:23

  Modified:    src/scratchpad/schecoon/src/org/apache/cocoon/components/flow
                        AbstractInterpreter.java
  Log:
  (setResources): New method to make the resources tree available to the
  flow interpreter.
  
  Revision  Changes    Path
  1.2       +8 -4      xml-cocoon2/src/scratchpad/schecoon/src/org/apache/cocoon/components/flow/AbstractInterpreter.java
  
  Index: AbstractInterpreter.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/scratchpad/schecoon/src/org/apache/cocoon/components/flow/AbstractInterpreter.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AbstractInterpreter.java	17 Mar 2002 21:43:37 -0000	1.1
  +++ AbstractInterpreter.java	18 Mar 2002 06:37:23 -0000	1.2
  @@ -4,7 +4,6 @@
   import java.util.ArrayList;
   import java.util.HashMap;
   import java.util.Iterator;
  -import org.apache.avalon.framework.activity.Disposable;
   import org.apache.avalon.framework.component.Component;
   import org.apache.avalon.framework.component.ComponentManager;
   import org.apache.avalon.framework.component.Composable;
  @@ -14,11 +13,9 @@
   import org.apache.avalon.framework.thread.ThreadSafe;
   import org.apache.cocoon.Constants;
   import org.apache.cocoon.components.source.SourceFactory;
  +import org.apache.cocoon.components.treeprocessor.CategoryNode;
   import org.apache.cocoon.environment.Context;
   import org.apache.cocoon.environment.Environment;
  -import org.apache.cocoon.environment.ModifiableSource;
  -import org.apache.cocoon.environment.Source;
  -import org.apache.cocoon.environment.SourceResolver;
   
   /**
    * Abstract superclass for various scripting languages used by Cocoon
  @@ -64,6 +61,8 @@
      */
     protected long checkTime;
   
  +  CategoryNode resources;
  +
     public void compose(ComponentManager manager)
     {
       this.manager = manager;
  @@ -83,6 +82,11 @@
     public void setCheckTime(long time)
     {
       checkTime = time;
  +  }
  +
  +  public void setResources(CategoryNode resources)
  +  {
  +    this.resources = resources;
     }
   
     /**
  
  
  

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