cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/language/programming/python PythonLanguage.java PythonProgram.java
Date Thu, 18 Apr 2002 13:58:21 GMT
vgritsenko    02/04/18 06:58:21

  Modified:    src/java/org/apache/cocoon/components/language/markup/xsp
                        PythonGenerator.java
               src/java/org/apache/cocoon/components/language/programming/javascript
                        JavascriptProgram.java
               src/java/org/apache/cocoon/components/language/programming/python
                        PythonLanguage.java PythonProgram.java
  Log:
  add comments
  
  Revision  Changes    Path
  1.2       +8 -0      xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/xsp/PythonGenerator.java
  
  Index: PythonGenerator.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/xsp/PythonGenerator.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- PythonGenerator.java	18 Apr 2002 13:48:40 -0000	1.1
  +++ PythonGenerator.java	18 Apr 2002 13:58:21 -0000	1.2
  @@ -82,6 +82,14 @@
   import java.util.Properties;
   import java.util.Map;
   
  +/**
  + * Class representing interpreted XSP-generated
  + * <code>ServerPagesGenerator</code> programs
  + * written in Python language
  + *
  + * @author <a href="mailto:vgritsenko@apache.org">Vadim Gritsenko</a>
  + * @version CVS $Id: PythonGenerator.java,v 1.2 2002/04/18 13:58:21 vgritsenko Exp $
  + */
   public class PythonGenerator extends XSPGenerator
           implements Configurable, Initializable {
   
  
  
  
  1.4       +6 -0      xml-cocoon2/src/java/org/apache/cocoon/components/language/programming/javascript/JavascriptProgram.java
  
  Index: JavascriptProgram.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/language/programming/javascript/JavascriptProgram.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- JavascriptProgram.java	22 Feb 2002 07:00:10 -0000	1.3
  +++ JavascriptProgram.java	18 Apr 2002 13:58:21 -0000	1.4
  @@ -66,6 +66,12 @@
   import java.util.Collection;
   import java.util.Iterator;
   
  +/**
  + * This class represents program in the Javascript language.
  + *
  + * @author <a href="mailto:vgritsenko@apache.org">Vadim Gritsenko</a>
  + * @version CVS $Id: JavascriptProgram.java,v 1.4 2002/04/18 13:58:21 vgritsenko Exp $
  + */
   public class JavascriptProgram implements Program {
   
       protected File file;
  
  
  
  1.2       +11 -0     xml-cocoon2/src/java/org/apache/cocoon/components/language/programming/python/PythonLanguage.java
  
  Index: PythonLanguage.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/language/programming/python/PythonLanguage.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- PythonLanguage.java	18 Apr 2002 13:48:40 -0000	1.1
  +++ PythonLanguage.java	18 Apr 2002 13:58:21 -0000	1.2
  @@ -71,6 +71,17 @@
   import java.io.FileInputStream;
   import java.util.ArrayList;
   
  +/**
  + * The interpreted Python programming language.
  + * Program in Python must have comment line as first line of file:
  + * <pre>
  + * """ $Cocoon extends: org.apache.cocoon.components.language.xsp.JSGenerator$ """
  + * </pre>
  + * The class specified will be used as a Java wrapper interpreting javascript program.
  + *
  + * @author <a href="mailto:vgritsenko@apache.org">Vadim Gritsenko</a>
  + * @version CVS $Id: PythonLanguage.java,v 1.2 2002/04/18 13:58:21 vgritsenko Exp $
  + */
   public class PythonLanguage extends AbstractProgrammingLanguage implements ProgrammingLanguage
{
   
       public Program preload(String filename, File baseDirectory, String encoding) throws
LanguageException {
  
  
  
  1.2       +6 -0      xml-cocoon2/src/java/org/apache/cocoon/components/language/programming/python/PythonProgram.java
  
  Index: PythonProgram.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/language/programming/python/PythonProgram.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- PythonProgram.java	18 Apr 2002 13:48:40 -0000	1.1
  +++ PythonProgram.java	18 Apr 2002 13:58:21 -0000	1.2
  @@ -71,6 +71,12 @@
   import java.util.Collection;
   import java.util.Iterator;
   
  +/**
  + * This class represents program in the Python language.
  + *
  + * @author <a href="mailto:vgritsenko@apache.org">Vadim Gritsenko</a>
  + * @version CVS $Id: PythonProgram.java,v 1.2 2002/04/18 13:58:21 vgritsenko Exp $
  + */
   public class PythonProgram implements Program {
   
       protected File file;
  
  
  

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