cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sylv...@apache.org
Subject cvs commit: xml-cocoon2/src/org/apache/cocoon/components/language/markup/xsp/java xsp.xsl
Date Thu, 09 Aug 2001 10:48:11 GMT
sylvain     01/08/09 03:48:11

  Modified:    src/org/apache/cocoon/components/language/markup/xsp/java
                        Tag: cocoon_20_branch xsp.xsl
  Log:
  Added ProcessingException and IOException allowed by the Generator interface
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.2.2.4   +4 -2      xml-cocoon2/src/org/apache/cocoon/components/language/markup/xsp/java/xsp.xsl
  
  Index: xsp.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/components/language/markup/xsp/java/xsp.xsl,v
  retrieving revision 1.2.2.3
  retrieving revision 1.2.2.4
  diff -u -r1.2.2.3 -r1.2.2.4
  --- xsp.xsl	2001/07/23 23:35:17	1.2.2.3
  +++ xsp.xsl	2001/08/09 10:48:11	1.2.2.4
  @@ -12,7 +12,7 @@
   <!--
    * @author <a href="mailto:ricardo@apache.org>Ricardo Rocha</a>
    * @author <a href="sylvain.wallez@anyware-tech.com">Sylvain Wallez</a>
  - * @version CVS $Revision: 1.2.2.3 $ $Date: 2001/07/23 23:35:17 $
  + * @version CVS $Revision: 1.2.2.4 $ $Date: 2001/08/09 10:48:11 $
   -->
   
   <!-- XSP Core logicsheet for the Java language -->
  @@ -36,6 +36,7 @@
       package <xsl:value-of select="translate(@file-path, '/', '.')"/>;
   
       import java.io.File;
  +    import java.io.IOException;
       import java.io.StringReader;
       //import java.net.*;
       import java.util.Date;
  @@ -57,6 +58,7 @@
       //import org.apache.avalon.framework.util.*;
   
       import org.apache.cocoon.Constants;
  +    import org.apache.cocoon.ProcessingException;
       import org.apache.cocoon.components.parser.Parser;
       import org.apache.cocoon.generation.Generator;
       //import org.apache.cocoon.util.*;
  @@ -98,7 +100,7 @@
           /**
           * Generate XML data.
           */
  -      public void generate() throws SAXException {
  +      public void generate() throws SAXException, IOException, ProcessingException {
               this.contentHandler.startDocument();
               AttributesImpl xspAttr = new AttributesImpl();
   
  
  
  

----------------------------------------------------------------------
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


Mime
View raw message