You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by st...@locus.apache.org on 2000/05/25 01:15:03 UTC
cvs commit: xml-cocoon/src/org/apache/cocoon Cocoon.java
stefano 00/05/24 16:15:02
Modified: src/org/apache/cocoon Tag: xml-cocoon2 Cocoon.java
Log:
required by CocoonOffline (doesn't hurt to have it it now)
Revision Changes Path
No revision
No revision
1.4.2.6 +9 -1 xml-cocoon/src/org/apache/cocoon/Cocoon.java
Index: Cocoon.java
===================================================================
RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/Cocoon.java,v
retrieving revision 1.4.2.5
retrieving revision 1.4.2.6
diff -u -r1.4.2.5 -r1.4.2.6
--- Cocoon.java 2000/02/27 05:45:17 1.4.2.5
+++ Cocoon.java 2000/05/24 23:15:01 1.4.2.6
@@ -35,7 +35,7 @@
*
* @author <a href="mailto:fumagalli@exoffice.com">Pierpaolo Fumagalli</a>
* (Apache Software Foundation, Exoffice Technologies)
- * @version CVS $Revision: 1.4.2.5 $ $Date: 2000/02/27 05:45:17 $
+ * @version CVS $Revision: 1.4.2.6 $ $Date: 2000/05/24 23:15:01 $
*/
public class Cocoon
implements Component, Configurable, ComponentManager, Modifiable, Processor,
@@ -86,6 +86,14 @@
this.root=this.configurationFile.getParentFile().toURL();
}
+ /**
+ * Set the cocoon root.
+ * @param root The new Cocoon root.
+ */
+ public void setRoot(URL root) {
+ this.root = root;
+ }
+
/**
* Get the <code>Component</code> associated with the given role.
*/