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.1/src/java/org/apache/cocoon/components/xscript XScriptObjectResult.java
Date Tue, 11 Mar 2003 15:06:56 GMT
vgritsenko    2003/03/11 07:06:56

  Modified:    src/java/org/apache/cocoon/components/xscript
                        XScriptObjectResult.java
  Log:
  Move from deprecated Cocoon source interface to Excalibur source interface
  
  Revision  Changes    Path
  1.2       +3 -6      cocoon-2.1/src/java/org/apache/cocoon/components/xscript/XScriptObjectResult.java
  
  Index: XScriptObjectResult.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/xscript/XScriptObjectResult.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- XScriptObjectResult.java	9 Mar 2003 00:09:27 -0000	1.1
  +++ XScriptObjectResult.java	11 Mar 2003 15:06:55 -0000	1.2
  @@ -50,8 +50,6 @@
   */
   package org.apache.cocoon.components.xscript;
   
  -import org.apache.cocoon.ProcessingException;
  -
   import java.io.ByteArrayInputStream;
   import java.io.IOException;
   import java.io.InputStream;
  @@ -75,8 +73,7 @@
           this.content = content;
       }
   
  -    public InputStream getInputStream()
  -            throws ProcessingException, IOException {
  +    public InputStream getInputStream() throws IOException {
           return new ByteArrayInputStream(content.getBytes());
       }
   
  @@ -84,7 +81,7 @@
           return content.length();
       }
   
  -    public String getSystemId() {
  +    public String getURI() {
           // FIXME: Return a real URL that identifies this object
           return "file:/";
       }
  
  
  

Mime
View raw message