cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject cvs commit: cocoon-2.2/src/java/org/apache/cocoon/environment/wrapper MutableEnvironmentFacade.java
Date Wed, 29 Oct 2003 14:39:08 GMT
vgritsenko    2003/10/29 06:39:08

  Modified:    src/java/org/apache/cocoon/environment/wrapper
                        MutableEnvironmentFacade.java
               src/java/org/apache/cocoon/environment/wrapper
                        MutableEnvironmentFacade.java
  Log:
  Kill tabs
  
  Revision  Changes    Path
  1.4       +204 -204  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.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- MutableEnvironmentFacade.java	25 Oct 2003 17:51:29 -0000	1.3
  +++ MutableEnvironmentFacade.java	29 Oct 2003 14:39:08 -0000	1.4
  @@ -131,220 +131,220 @@
       }
       //----------------------------------
   
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#getURI()
  -	 */
  -	public String getURI() {
  -		return env.getURI();
  -	}
  -
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#getURIPrefix()
  -	 */
  -	public String getURIPrefix() {
  -		return env.getURIPrefix();
  -	}
  -
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#getRootContext()
  -	 */
  -	public String getRootContext() {
  -		return env.getRootContext();
  -	}
  -
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#getContext()
  -	 */
  -	public String getContext() {
  -		return env.getContext();
  -	}
  -
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#getView()
  -	 */
  -	public String getView() {
  -		return env.getView();
  -	}
  -
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#getAction()
  -	 */
  -	public String getAction() {
  -		return env.getAction();
  -	}
  -
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#setContext(java.lang.String, java.lang.String,
java.lang.String)
  -	 */
  -	public void setContext(String prefix, String uri, String context) {
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#getURI()
  +     */
  +    public String getURI() {
  +        return env.getURI();
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#getURIPrefix()
  +     */
  +    public String getURIPrefix() {
  +        return env.getURIPrefix();
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#getRootContext()
  +     */
  +    public String getRootContext() {
  +        return env.getRootContext();
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#getContext()
  +     */
  +    public String getContext() {
  +        return env.getContext();
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#getView()
  +     */
  +    public String getView() {
  +        return env.getView();
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#getAction()
  +     */
  +    public String getAction() {
  +            return env.getAction();
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#setContext(java.lang.String, java.lang.String,
java.lang.String)
  +     */
  +    public void setContext(String prefix, String uri, String context) {
           env.setContext(prefix, uri, context);
  -	}
  +    }
   
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#changeContext(java.lang.String, java.lang.String)
  -	 */
  -	public void changeContext(String uriprefix, String context) throws Exception {
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#changeContext(java.lang.String, java.lang.String)
  +     */
  +    public void changeContext(String uriprefix, String context) throws Exception {
           env.changeContext(uriprefix, context);
  -	}
  +    }
   
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#redirect(boolean, java.lang.String)
  -	 */
  -	public void redirect(boolean sessionmode, String url) throws IOException {
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#redirect(boolean, java.lang.String)
  +     */
  +    public void redirect(boolean sessionmode, String url) throws IOException {
           env.redirect(sessionmode, url);
  -	}
  +    }
   
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#setContentType(java.lang.String)
  -	 */
  -	public void setContentType(String mimeType) {
  -		env.setContentType(mimeType);
  -	}
  -
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#getContentType()
  -	 */
  -	public String getContentType() {
  -		return env.getContentType();
  -	}
  -
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#setContentLength(int)
  -	 */
  -	public void setContentLength(int length) {
  -		env.setContentLength(length);
  -	}
  -
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#setStatus(int)
  -	 */
  -	public void setStatus(int statusCode) {
  -		env.setStatus(statusCode);
  -	}
  -
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#getOutputStream()
  -	 */
  -	public OutputStream getOutputStream() throws IOException {
  -		return env.getOutputStream();
  -	}
  -
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#getOutputStream(int)
  -	 */
  -	public OutputStream getOutputStream(int bufferSize) throws IOException {
  -		return env.getOutputStream(bufferSize);
  -	}
  -
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#getObjectModel()
  -	 */
  -	public Map getObjectModel() {
  -		return env.getObjectModel();
  -	}
  -
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#isResponseModified(long)
  -	 */
  -	public boolean isResponseModified(long lastModified) {
  -		return env.isResponseModified(lastModified);
  -	}
  -
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#setResponseIsNotModified()
  -	 */
  -	public void setResponseIsNotModified() {
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#setContentType(java.lang.String)
  +     */
  +    public void setContentType(String mimeType) {
  +        env.setContentType(mimeType);
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#getContentType()
  +     */
  +    public String getContentType() {
  +        return env.getContentType();
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#setContentLength(int)
  +     */
  +    public void setContentLength(int length) {
  +        env.setContentLength(length);
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#setStatus(int)
  +     */
  +    public void setStatus(int statusCode) {
  +        env.setStatus(statusCode);
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#getOutputStream()
  +     */
  +    public OutputStream getOutputStream() throws IOException {
  +        return env.getOutputStream();
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#getOutputStream(int)
  +     */
  +    public OutputStream getOutputStream(int bufferSize) throws IOException {
  +        return env.getOutputStream(bufferSize);
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#getObjectModel()
  +     */
  +    public Map getObjectModel() {
  +        return env.getObjectModel();
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#isResponseModified(long)
  +     */
  +    public boolean isResponseModified(long lastModified) {
  +        return env.isResponseModified(lastModified);
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#setResponseIsNotModified()
  +     */
  +    public void setResponseIsNotModified() {
           env.setResponseIsNotModified();
  -	}
  +    }
   
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#setAttribute(java.lang.String, java.lang.Object)
  -	 */
  -	public void setAttribute(String name, Object value) {
  -		env.setAttribute(name, value);
  -	}
  -
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#getAttribute(java.lang.String)
  -	 */
  -	public Object getAttribute(String name) {
  -		return env.getAttribute(name);
  -	}
  -
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#removeAttribute(java.lang.String)
  -	 */
  -	public void removeAttribute(String name) {
  -		env.removeAttribute(name);
  -	}
  -
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#getAttributeNames()
  -	 */
  -	public Enumeration getAttributeNames() {
  -		return env.getAttributeNames();
  -	}
  -
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#tryResetResponse()
  -	 */
  -	public boolean tryResetResponse() throws IOException {
  -		return env.tryResetResponse();
  -	}
  -
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#commitResponse()
  -	 */
  -	public void commitResponse() throws IOException {
  -		env.commitResponse();
  -	}
  -
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#startingProcessing()
  -	 */
  -	public void startingProcessing() {
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#setAttribute(java.lang.String, java.lang.Object)
  +     */
  +    public void setAttribute(String name, Object value) {
  +        env.setAttribute(name, value);
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#getAttribute(java.lang.String)
  +     */
  +    public Object getAttribute(String name) {
  +        return env.getAttribute(name);
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#removeAttribute(java.lang.String)
  +     */
  +    public void removeAttribute(String name) {
  +        env.removeAttribute(name);
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#getAttributeNames()
  +     */
  +    public Enumeration getAttributeNames() {
  +        return env.getAttributeNames();
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#tryResetResponse()
  +     */
  +    public boolean tryResetResponse() throws IOException {
  +        return env.tryResetResponse();
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#commitResponse()
  +     */
  +    public void commitResponse() throws IOException {
  +        env.commitResponse();
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#startingProcessing()
  +     */
  +    public void startingProcessing() {
           env.startingProcessing();
  -	}
  +    }
   
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#finishingProcessing()
  -	 */
  -	public void finishingProcessing() {
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#finishingProcessing()
  +     */
  +    public void finishingProcessing() {
           env.finishingProcessing();
  -	}
  +    }
   
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#isExternal()
  -	 */
  -	public boolean isExternal() {
  -		return env.isExternal();
  -	}
  -
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.SourceResolver#resolve(java.lang.String)
  -	 */
  -	public Source resolve(String systemID) throws ProcessingException, SAXException, IOException
{
  -		return env.resolve(systemID);
  -	}
  -
  -	/* (non-Javadoc)
  -	 * @see org.apache.excalibur.source.SourceResolver#resolveURI(java.lang.String)
  -	 */
  -	public org.apache.excalibur.source.Source resolveURI(String arg0) throws MalformedURLException,
IOException {
  -		return env.resolveURI(arg0);
  -	}
  -
  -	/* (non-Javadoc)
  -	 * @see org.apache.excalibur.source.SourceResolver#resolveURI(java.lang.String, java.lang.String,
java.util.Map)
  -	 */
  -	public org.apache.excalibur.source.Source resolveURI(String arg0, String arg1, Map arg2)
throws MalformedURLException, IOException {
  -		return env.resolveURI(arg0, arg1, arg2);
  -	}
  -
  -	/* (non-Javadoc)
  -	 * @see org.apache.excalibur.source.SourceResolver#release(org.apache.excalibur.source.Source)
  -	 */
  -	public void release(org.apache.excalibur.source.Source arg0) {
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#isExternal()
  +     */
  +    public boolean isExternal() {
  +        return env.isExternal();
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.SourceResolver#resolve(java.lang.String)
  +     */
  +    public Source resolve(String systemID) throws ProcessingException, SAXException, IOException
{
  +        return env.resolve(systemID);
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.excalibur.source.SourceResolver#resolveURI(java.lang.String)
  +     */
  +    public org.apache.excalibur.source.Source resolveURI(String arg0) throws MalformedURLException,
IOException {
  +        return env.resolveURI(arg0);
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.excalibur.source.SourceResolver#resolveURI(java.lang.String, java.lang.String,
java.util.Map)
  +     */
  +    public org.apache.excalibur.source.Source resolveURI(String arg0, String arg1, Map
arg2) throws MalformedURLException, IOException {
  +        return env.resolveURI(arg0, arg1, arg2);
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.excalibur.source.SourceResolver#release(org.apache.excalibur.source.Source)
  +     */
  +    public void release(org.apache.excalibur.source.Source arg0) {
           env.release(arg0);
  -	}
  +    }
   }
  
  
  
  1.7       +170 -171  cocoon-2.2/src/java/org/apache/cocoon/environment/wrapper/MutableEnvironmentFacade.java
  
  Index: MutableEnvironmentFacade.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.2/src/java/org/apache/cocoon/environment/wrapper/MutableEnvironmentFacade.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- MutableEnvironmentFacade.java	27 Oct 2003 07:57:26 -0000	1.6
  +++ MutableEnvironmentFacade.java	29 Oct 2003 14:39:08 -0000	1.7
  @@ -134,186 +134,185 @@
       }
       //----------------------------------
   
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#getURI()
  -	 */
  -	public String getURI() {
  -		return env.getURI();
  -	}
  -
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#getURIPrefix()
  -	 */
  -	public String getURIPrefix() {
  -		return env.getURIPrefix();
  -	}
  -
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#getRootContext()
  -	 */
  -	public String getRootContext() {
  -		return env.getRootContext();
  -	}
  -
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#getContext()
  -	 */
  -	public String getContext() {
  -		return env.getContext();
  -	}
  -
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#getView()
  -	 */
  -	public String getView() {
  -		return env.getView();
  -	}
  -
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#getAction()
  -	 */
  -	public String getAction() {
  -		return env.getAction();
  -	}
  -
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#setContext(java.lang.String, java.lang.String,
java.lang.String)
  -	 */
  -	public void setContext(String prefix, String uri, String context) {
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#getURI()
  +     */
  +    public String getURI() {
  +        return env.getURI();
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#getURIPrefix()
  +     */
  +    public String getURIPrefix() {
  +        return env.getURIPrefix();
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#getRootContext()
  +     */
  +    public String getRootContext() {
  +        return env.getRootContext();
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#getContext()
  +     */
  +    public String getContext() {
  +        return env.getContext();
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#getView()
  +     */
  +    public String getView() {
  +        return env.getView();
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#getAction()
  +     */
  +    public String getAction() {
  +        return env.getAction();
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#setContext(java.lang.String, java.lang.String,
java.lang.String)
  +     */
  +    public void setContext(String prefix, String uri, String context) {
           env.setContext(prefix, uri, context);
  -	}
  +    }
   
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#changeContext(java.lang.String, java.lang.String)
  -	 */
  -	public void changeContext(String uriprefix, String context) throws Exception {
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#changeContext(java.lang.String, java.lang.String)
  +     */
  +    public void changeContext(String uriprefix, String context) throws Exception {
           env.changeContext(uriprefix, context);
  -	}
  +    }
   
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#redirect(boolean, java.lang.String)
  -	 */
  -	public void redirect(boolean sessionmode, String url) throws IOException {
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#redirect(boolean, java.lang.String)
  +     */
  +    public void redirect(boolean sessionmode, String url) throws IOException {
           env.redirect(sessionmode, url);
  -	}
  +    }
   
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#setContentType(java.lang.String)
  -	 */
  -	public void setContentType(String mimeType) {
  -		env.setContentType(mimeType);
  -	}
  -
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#getContentType()
  -	 */
  -	public String getContentType() {
  -		return env.getContentType();
  -	}
  -
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#setContentLength(int)
  -	 */
  -	public void setContentLength(int length) {
  -		env.setContentLength(length);
  -	}
  -
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#setStatus(int)
  -	 */
  -	public void setStatus(int statusCode) {
  -		env.setStatus(statusCode);
  -	}
  -
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#getOutputStream(int)
  -	 */
  -	public OutputStream getOutputStream(int bufferSize) throws IOException {
  -		return env.getOutputStream(bufferSize);
  -	}
  -
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#getObjectModel()
  -	 */
  -	public Map getObjectModel() {
  -		return env.getObjectModel();
  -	}
  -
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#isResponseModified(long)
  -	 */
  -	public boolean isResponseModified(long lastModified) {
  -		return env.isResponseModified(lastModified);
  -	}
  -
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#setResponseIsNotModified()
  -	 */
  -	public void setResponseIsNotModified() {
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#setContentType(java.lang.String)
  +     */
  +    public void setContentType(String mimeType) {
  +        env.setContentType(mimeType);
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#getContentType()
  +     */
  +    public String getContentType() {
  +        return env.getContentType();
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#setContentLength(int)
  +     */
  +    public void setContentLength(int length) {
  +        env.setContentLength(length);
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#setStatus(int)
  +     */
  +    public void setStatus(int statusCode) {
  +        env.setStatus(statusCode);
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#getOutputStream(int)
  +     */
  +    public OutputStream getOutputStream(int bufferSize) throws IOException {
  +        return env.getOutputStream(bufferSize);
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#getObjectModel()
  +     */
  +    public Map getObjectModel() {
  +        return env.getObjectModel();
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#isResponseModified(long)
  +     */
  +    public boolean isResponseModified(long lastModified) {
  +        return env.isResponseModified(lastModified);
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#setResponseIsNotModified()
  +     */
  +    public void setResponseIsNotModified() {
           env.setResponseIsNotModified();
  -	}
  +    }
   
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#setAttribute(java.lang.String, java.lang.Object)
  -	 */
  -	public void setAttribute(String name, Object value) {
  -		env.setAttribute(name, value);
  -	}
  -
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#getAttribute(java.lang.String)
  -	 */
  -	public Object getAttribute(String name) {
  -		return env.getAttribute(name);
  -	}
  -
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#removeAttribute(java.lang.String)
  -	 */
  -	public void removeAttribute(String name) {
  -		env.removeAttribute(name);
  -	}
  -
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#getAttributeNames()
  -	 */
  -	public Enumeration getAttributeNames() {
  -		return env.getAttributeNames();
  -	}
  -
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#tryResetResponse()
  -	 */
  -	public boolean tryResetResponse() throws IOException {
  -		return env.tryResetResponse();
  -	}
  -
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#commitResponse()
  -	 */
  -	public void commitResponse() throws IOException {
  -		env.commitResponse();
  -	}
  -
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#startingProcessing()
  -	 */
  -	public void startingProcessing() {
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#setAttribute(java.lang.String, java.lang.Object)
  +     */
  +    public void setAttribute(String name, Object value) {
  +        env.setAttribute(name, value);
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#getAttribute(java.lang.String)
  +     */
  +    public Object getAttribute(String name) {
  +        return env.getAttribute(name);
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#removeAttribute(java.lang.String)
  +     */
  +    public void removeAttribute(String name) {
  +        env.removeAttribute(name);
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#getAttributeNames()
  +     */
  +    public Enumeration getAttributeNames() {
  +        return env.getAttributeNames();
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#tryResetResponse()
  +     */
  +    public boolean tryResetResponse() throws IOException {
  +        return env.tryResetResponse();
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#commitResponse()
  +     */
  +    public void commitResponse() throws IOException {
  +        env.commitResponse();
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#startingProcessing()
  +     */
  +    public void startingProcessing() {
           env.startingProcessing();
  -	}
  +    }
   
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#finishingProcessing()
  -	 */
  -	public void finishingProcessing() {
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#finishingProcessing()
  +     */
  +    public void finishingProcessing() {
           env.finishingProcessing();
  -	}
  -
  -	/* (non-Javadoc)
  -	 * @see org.apache.cocoon.environment.Environment#isExternal()
  -	 */
  -	public boolean isExternal() {
  -		return env.isExternal();
  -	}
  +    }
   
  +    /* (non-Javadoc)
  +     * @see org.apache.cocoon.environment.Environment#isExternal()
  +     */
  +    public boolean isExternal() {
  +        return env.isExternal();
  +    }
   }
  
  
  

Mime
View raw message