vgritsenko 2004/06/22 15:13:44
Modified: src/java/org/apache/cocoon/environment/wrapper
MutableEnvironmentFacade.java
Log:
Remove broken javadoc reference
Revision Changes Path
1.12 +17 -19
cocoon-2.1/src/java/org/apache/cocoon/environment/wrapper/MutableEnvironmentFacade.java
Index: MutableEnvironmentFacade.java
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/java/org/apache/cocoon/environment/wrapper/MutableEnvironmentFacade.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- MutableEnvironmentFacade.java 26 May 2004 01:31:06 -0000 1.11
+++ MutableEnvironmentFacade.java 22 Jun 2004 22:13:43 -0000 1.12
@@ -1,12 +1,12 @@
/*
* Copyright 1999-2004 The Apache Software Foundation.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -27,11 +27,10 @@
* in sitemap sources ("cocoon:"). This is because [EMAIL PROTECTED]
org.apache.cocoon.components.source.impl.SitemapSource} keeps
* the environment in which the internal request should be processed. But
internal redirects create a new
* processing environment and there's no way to change the one held by the
<code>SitemapSource</code>. So the
- * processing of internal redirects actually changes the delegate of this
class, transparently for the
+ * processing of internal redirects actually changes the delegate of this
class, transparently for the
* <code>SitemapSource</code>.
- *
+ *
* @see org.apache.cocoon.components.source.impl.SitemapSource
- * @see
org.apache.cocoon.components.treeprocessor.TreeProcessor#handleCocoonRedirect(String,
Environment, org.apache.cocoon.components.treeprocessor.InvokeContext)
*
* @author <a href="http://www.apache.org/~sylvain/">Sylvain Wallez</a>
* @version CVS $Id$
@@ -39,19 +38,19 @@
public class MutableEnvironmentFacade implements Environment {
private EnvironmentWrapper env;
-
+
public MutableEnvironmentFacade(EnvironmentWrapper env) {
this.env = env;
}
-
+
public EnvironmentWrapper getDelegate() {
return this.env;
}
-
+
public void setDelegate(EnvironmentWrapper env) {
this.env = env;
}
-
+
public void setURI(String prefix, String uri) {
this.env.setURI(prefix, uri);
}
@@ -64,7 +63,7 @@
public String getRedirectURL() {
return this.env.getRedirectURL();
}
-
+
/* (non-Javadoc)
* @see org.apache.cocoon.environment.Environment#getURI()
*/
@@ -94,16 +93,16 @@
}
/* (non-Javadoc)
- * @see
org.apache.cocoon.environment.Environment#redirect(java.lang.String, boolean,
boolean)
+ * @see org.apache.cocoon.environment.Environment#redirect(String,
boolean, boolean)
*/
- public void redirect(String url,
- boolean global,
+ public void redirect(String url,
+ boolean global,
boolean permanent) throws IOException {
env.redirect(url, global, permanent);
}
/* (non-Javadoc)
- * @see
org.apache.cocoon.environment.Environment#setContentType(java.lang.String)
+ * @see org.apache.cocoon.environment.Environment#setContentType(String)
*/
public void setContentType(String mimeType) {
env.setContentType(mimeType);
@@ -159,7 +158,7 @@
}
/* (non-Javadoc)
- * @see
org.apache.cocoon.environment.Environment#setAttribute(java.lang.String,
java.lang.Object)
+ * @see org.apache.cocoon.environment.Environment#setAttribute(String,
Object)
*/
public void setAttribute(String name, Object value) {
env.setAttribute(name, value);
@@ -220,7 +219,7 @@
public boolean isExternal() {
return env.isExternal();
}
-
+
public void reset() {
this.env.reset();
}
@@ -231,5 +230,4 @@
public boolean isInternalRedirect() {
return env.isInternalRedirect();
}
-
}