xalan-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From il...@apache.org
Subject cvs commit: xml-xalan/java/src/org/apache/xalan/serialize DOMSerializer.java SerializerFactory.java Serializer.java
Date Tue, 08 Apr 2003 01:53:46 GMT
ilene       2003/04/07 18:53:45

  Modified:    java/src/org/apache/xml/serializer ToUnknownStream.java
                        ToHTMLStream.java SerializationHandler.java
                        SerializerBase.java DOMSerializer.java
  Added:       java/src/org/apache/xalan/serialize DOMSerializer.java
                        SerializerFactory.java Serializer.java
  Log:
  Patch from Brian Minchau (minchau@ca.ibm.com) for backward compatibility
  of new serializers.  Also a fix related to a failure in the DOM2DOM sample.
  
  Revision  Changes    Path
  1.2       +1 -1      xml-xalan/java/src/org/apache/xml/serializer/ToUnknownStream.java
  
  Index: ToUnknownStream.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xml/serializer/ToUnknownStream.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ToUnknownStream.java	1 Apr 2003 19:24:54 -0000	1.1
  +++ ToUnknownStream.java	8 Apr 2003 01:53:45 -0000	1.2
  @@ -1164,7 +1164,7 @@
        */
       public DOMSerializer asDOMSerializer() throws IOException
       {
  -        return null;
  +        return m_handler.asDOMSerializer();
       }
   
       /**
  
  
  
  1.2       +0 -7      xml-xalan/java/src/org/apache/xml/serializer/ToHTMLStream.java
  
  Index: ToHTMLStream.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xml/serializer/ToHTMLStream.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ToHTMLStream.java	1 Apr 2003 19:24:54 -0000	1.1
  +++ ToHTMLStream.java	8 Apr 2003 01:53:45 -0000	1.2
  @@ -1602,13 +1602,6 @@
   
           }
       }
  -    /**
  -     * @see org.apache.xml.serializer.Serializer#asDOMSerializer()
  -     */
  -    public DOMSerializer asDOMSerializer() throws IOException
  -    {
  -        return null;
  -    }
   
       /**
        * For the enclosing elements starting tag write out out any attributes
  
  
  
  1.2       +1 -0      xml-xalan/java/src/org/apache/xml/serializer/SerializationHandler.java
  
  Index: SerializationHandler.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xml/serializer/SerializationHandler.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SerializationHandler.java	1 Apr 2003 19:24:54 -0000	1.1
  +++ SerializationHandler.java	8 Apr 2003 01:53:45 -0000	1.2
  @@ -82,6 +82,7 @@
           XSLOutputAttributes,
           DeclHandler,
           ErrorHandler,
  +        DOMSerializer,
           Serializer
   {
       /**
  
  
  
  1.2       +1 -1      xml-xalan/java/src/org/apache/xml/serializer/SerializerBase.java
  
  Index: SerializerBase.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xml/serializer/SerializerBase.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SerializerBase.java	1 Apr 2003 19:24:54 -0000	1.1
  +++ SerializerBase.java	8 Apr 2003 01:53:45 -0000	1.2
  @@ -781,7 +781,7 @@
        */
       public DOMSerializer asDOMSerializer() throws IOException
       { 
  -        return null;
  +        return this;
       }
   
       /**
  
  
  
  1.2       +2 -2      xml-xalan/java/src/org/apache/xml/serializer/DOMSerializer.java
  
  Index: DOMSerializer.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xml/serializer/DOMSerializer.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DOMSerializer.java	1 Apr 2003 19:24:54 -0000	1.1
  +++ DOMSerializer.java	8 Apr 2003 01:53:45 -0000	1.2
  @@ -87,8 +87,8 @@
        * Serializes the DOM node. Throws an exception only if an I/O
        * exception occured while serializing.
        *
  -     * @param elem The element to serialize
  -     * @throws IOException An I/O exception occured while serializing
  +     * @param node the DOM node to serialize
  +     * @throws IOException if an I/O exception occured while serializing
        */
       public void serialize(Node node) throws IOException;
   }
  
  
  
  1.4       +7 -35     xml-xalan/java/src/org/apache/xalan/serialize/DOMSerializer.java
  
  
  
  
  1.9       +114 -60   xml-xalan/java/src/org/apache/xalan/serialize/SerializerFactory.java
  
  
  
  
  1.7       +20 -6     xml-xalan/java/src/org/apache/xalan/serialize/Serializer.java
  
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org


Mime
View raw message