cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@locus.apache.org
Subject cvs commit: xml-cocoon/src/org/apache/cocoon/serializers ImageSerializer.java XMLSerializer.java
Date Mon, 28 Feb 2000 18:41:06 GMT
pier        00/02/28 10:41:06

  Modified:    src/org/apache/cocoon/serializers Tag: xml-cocoon2
                        XMLSerializer.java
  Added:       src/org/apache/cocoon/serializers Tag: xml-cocoon2
                        ImageSerializer.java
  Log:
  [Cocoon 2.0] Added the ImageSerializer from StyleBook. (For my XTECH tutorial)
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.4.5   +3 -1      xml-cocoon/src/org/apache/cocoon/serializers/Attic/XMLSerializer.java
  
  Index: XMLSerializer.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/serializers/Attic/XMLSerializer.java,v
  retrieving revision 1.1.4.4
  retrieving revision 1.1.4.5
  diff -u -r1.1.4.4 -r1.1.4.5
  --- XMLSerializer.java	2000/02/27 07:13:55	1.1.4.4
  +++ XMLSerializer.java	2000/02/28 18:41:06	1.1.4.5
  @@ -23,7 +23,7 @@
    *
    * @author <a href="mailto:fumagalli@exoffice.com">Pierpaolo Fumagalli</a>
    *         (Apache Software Foundation, Exoffice Technologies)
  - * @version CVS $Revision: 1.1.4.4 $ $Date: 2000/02/27 07:13:55 $
  + * @version CVS $Revision: 1.1.4.5 $ $Date: 2000/02/28 18:41:06 $
    */
   public class XMLSerializer extends AbstractSerializer implements XMLConsumer {
       /** The namespaces table */
  @@ -323,6 +323,7 @@
       /** Print a string */
       private void print(String s)
       throws SAXException {
  +        if(s==null) return;
           char data[]=s.toCharArray();
           this.print(data,0,data.length);
       }
  @@ -350,6 +351,7 @@
       /** Print a string */
       private void printSafe(String s)
       throws SAXException {
  +        if(s==null) return;
           char data[]=s.toCharArray();
           this.printSafe(data,0,data.length);
       }
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.1   +365 -0    xml-cocoon/src/org/apache/cocoon/serializers/Attic/ImageSerializer.java
  
  
  
  

Mime
View raw message