You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by cz...@apache.org on 2001/09/05 08:10:49 UTC
cvs commit: xml-cocoon2/src/org/apache/cocoon/environment AbstractEnvironment.java
cziegeler 01/09/04 23:10:49
Modified: src/org/apache/cocoon/environment AbstractEnvironment.java
Log:
Oops, forget to check this in (I still need more vacation...)
Revision Changes Path
1.21 +9 -2 xml-cocoon2/src/org/apache/cocoon/environment/AbstractEnvironment.java
Index: AbstractEnvironment.java
===================================================================
RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/environment/AbstractEnvironment.java,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- AbstractEnvironment.java 2001/09/04 15:23:03 1.20
+++ AbstractEnvironment.java 2001/09/05 06:10:49 1.21
@@ -24,7 +24,7 @@
*
* @author <a href="mailto:Giacomo.Pati@pwr.ch">Giacomo Pati</a>
* @author <a href="mailto:cziegeler@apache.org">Carsten Ziegeler</a>
- * @version CVS $Revision: 1.20 $ $Date: 2001/09/04 15:23:03 $
+ * @version CVS $Revision: 1.21 $ $Date: 2001/09/05 06:10:49 $
*/
public abstract class AbstractEnvironment extends AbstractLoggable implements Environment {
@@ -144,9 +144,16 @@
/**
* Set the prefix of the URI in progress
*/
- public void setURIPrefix(String prefix) {
+ protected void setURIPrefix(String prefix) {
getLogger().debug("Set the URI Prefix (OLD=" + this.prefix.toString() + ", NEW=" + prefix + ")");
this.prefix = new StringBuffer(prefix);
+ }
+
+ /**
+ * Set the context.
+ */
+ protected void setContext(URL context) {
+ this.context = context;
}
/**
----------------------------------------------------------------------
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