You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by mr...@apache.org on 2006/11/17 05:27:46 UTC

svn commit: r476047 - /xerces/java/trunk/src/org/apache/xml/serialize/

Author: mrglavas
Date: Thu Nov 16 20:27:45 2006
New Revision: 476047

URL: http://svn.apache.org/viewvc?view=rev&rev=476047
Log:
JIRA Issue #1210:
http://issues.apache.org/jira/browse/XERCESJ-1210

Now that we've moved a common serialization codebase with Xalan, deprecating the remainder of Xerces' serializer.

Modified:
    xerces/java/trunk/src/org/apache/xml/serialize/BaseMarkupSerializer.java
    xerces/java/trunk/src/org/apache/xml/serialize/DOMSerializer.java
    xerces/java/trunk/src/org/apache/xml/serialize/DOMSerializerImpl.java
    xerces/java/trunk/src/org/apache/xml/serialize/ElementState.java
    xerces/java/trunk/src/org/apache/xml/serialize/EncodingInfo.java
    xerces/java/trunk/src/org/apache/xml/serialize/Encodings.java
    xerces/java/trunk/src/org/apache/xml/serialize/HTMLdtd.java
    xerces/java/trunk/src/org/apache/xml/serialize/IndentPrinter.java
    xerces/java/trunk/src/org/apache/xml/serialize/LineSeparator.java
    xerces/java/trunk/src/org/apache/xml/serialize/Method.java
    xerces/java/trunk/src/org/apache/xml/serialize/OutputFormat.java
    xerces/java/trunk/src/org/apache/xml/serialize/Printer.java
    xerces/java/trunk/src/org/apache/xml/serialize/Serializer.java
    xerces/java/trunk/src/org/apache/xml/serialize/SerializerFactory.java
    xerces/java/trunk/src/org/apache/xml/serialize/SerializerFactoryImpl.java
    xerces/java/trunk/src/org/apache/xml/serialize/TextSerializer.java
    xerces/java/trunk/src/org/apache/xml/serialize/XML11Serializer.java
    xerces/java/trunk/src/org/apache/xml/serialize/XMLSerializer.java

Modified: xerces/java/trunk/src/org/apache/xml/serialize/BaseMarkupSerializer.java
URL: http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xml/serialize/BaseMarkupSerializer.java?view=diff&rev=476047&r1=476046&r2=476047
==============================================================================
--- xerces/java/trunk/src/org/apache/xml/serialize/BaseMarkupSerializer.java (original)
+++ xerces/java/trunk/src/org/apache/xml/serialize/BaseMarkupSerializer.java Thu Nov 16 20:27:45 2006
@@ -111,7 +111,10 @@
  * last child of an element, or immediate following or preceding
  * another element.
  *
- *
+ * @deprecated This class was deprecated in Xerces 2.9.0. It is recommended 
+ * that new applications use the DOM Level 3 LSSerializer or JAXP's Transformation 
+ * API for XML (TrAX) for serializing XML. See the Xerces documentation for more 
+ * information.
  * @version $Revision$ $Date$
  * @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>
  * @author <a href="mailto:rahul.srivastava@sun.com">Rahul Srivastava</a>

Modified: xerces/java/trunk/src/org/apache/xml/serialize/DOMSerializer.java
URL: http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xml/serialize/DOMSerializer.java?view=diff&rev=476047&r1=476046&r2=476047
==============================================================================
--- xerces/java/trunk/src/org/apache/xml/serialize/DOMSerializer.java (original)
+++ xerces/java/trunk/src/org/apache/xml/serialize/DOMSerializer.java Thu Nov 16 20:27:45 2006
@@ -29,7 +29,10 @@
 /**
  * Interface for a DOM serializer implementation.
  * 
- *
+ * @deprecated This class was deprecated in Xerces 2.9.0. It is recommended 
+ * that new applications use the DOM Level 3 LSSerializer or JAXP's Transformation 
+ * API for XML (TrAX) for serializing XML. See the Xerces documentation for more 
+ * information.
  * @version $Revision$ $Date$
  * @author <a href="mailto:Scott_Boag/CAM/Lotus@lotus.com">Scott Boag</a>
  * @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>

Modified: xerces/java/trunk/src/org/apache/xml/serialize/DOMSerializerImpl.java
URL: http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xml/serialize/DOMSerializerImpl.java?view=diff&rev=476047&r1=476046&r2=476047
==============================================================================
--- xerces/java/trunk/src/org/apache/xml/serialize/DOMSerializerImpl.java (original)
+++ xerces/java/trunk/src/org/apache/xml/serialize/DOMSerializerImpl.java Thu Nov 16 20:27:45 2006
@@ -69,7 +69,7 @@
  * @author Arun Yadav, Sun Microsystems
  * @version $Id$
  * 
- * @deprecated Replaced by org.apache.xml.serializer.dom3.LSSerializerImpl
+ * @deprecated Replaced by org.apache.xml.serializer.dom3.LSSerializerImpl in Xerces 2.9.0.
  */
 public class DOMSerializerImpl implements LSSerializer, DOMConfiguration {
 

Modified: xerces/java/trunk/src/org/apache/xml/serialize/ElementState.java
URL: http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xml/serialize/ElementState.java?view=diff&rev=476047&r1=476046&r2=476047
==============================================================================
--- xerces/java/trunk/src/org/apache/xml/serialize/ElementState.java (original)
+++ xerces/java/trunk/src/org/apache/xml/serialize/ElementState.java Thu Nov 16 20:27:45 2006
@@ -25,7 +25,10 @@
 /**
  * Holds the state of the currently serialized element.
  *
- *
+ * @deprecated This class was deprecated in Xerces 2.9.0. It is recommended 
+ * that new applications use the DOM Level 3 LSSerializer or JAXP's Transformation 
+ * API for XML (TrAX) for serializing XML. See the Xerces documentation for more 
+ * information.
  * @version $Revision$ $Date$
  * @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>
  * @see BaseMarkupSerializer

Modified: xerces/java/trunk/src/org/apache/xml/serialize/EncodingInfo.java
URL: http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xml/serialize/EncodingInfo.java?view=diff&rev=476047&r1=476046&r2=476047
==============================================================================
--- xerces/java/trunk/src/org/apache/xml/serialize/EncodingInfo.java (original)
+++ xerces/java/trunk/src/org/apache/xml/serialize/EncodingInfo.java Thu Nov 16 20:27:45 2006
@@ -25,7 +25,11 @@
 
 /**
  * This class represents an encoding.
- *
+ * 
+ * @deprecated This class was deprecated in Xerces 2.9.0. It is recommended 
+ * that new applications use the DOM Level 3 LSSerializer or JAXP's Transformation 
+ * API for XML (TrAX) for serializing XML. See the Xerces documentation for more 
+ * information.
  * @version $Id$
  */
 public class EncodingInfo {

Modified: xerces/java/trunk/src/org/apache/xml/serialize/Encodings.java
URL: http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xml/serialize/Encodings.java?view=diff&rev=476047&r1=476046&r2=476047
==============================================================================
--- xerces/java/trunk/src/org/apache/xml/serialize/Encodings.java (original)
+++ xerces/java/trunk/src/org/apache/xml/serialize/Encodings.java Thu Nov 16 20:27:45 2006
@@ -29,6 +29,10 @@
  * to override encoding names and provide the last printable character
  * for each encoding.
  *
+ * @deprecated This class was deprecated in Xerces 2.9.0. It is recommended 
+ * that new applications use the DOM Level 3 LSSerializer or JAXP's Transformation 
+ * API for XML (TrAX) for serializing XML. See the Xerces documentation for more 
+ * information.
  * @version $Id$
  * @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>
  */

Modified: xerces/java/trunk/src/org/apache/xml/serialize/HTMLdtd.java
URL: http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xml/serialize/HTMLdtd.java?view=diff&rev=476047&r1=476046&r2=476047
==============================================================================
--- xerces/java/trunk/src/org/apache/xml/serialize/HTMLdtd.java (original)
+++ xerces/java/trunk/src/org/apache/xml/serialize/HTMLdtd.java Thu Nov 16 20:27:45 2006
@@ -39,7 +39,9 @@
  * from value to name. A small entities resource is loaded into memory the
  * first time any of these methods is called for fast and efficient access.
  *
- *
+ * @deprecated This class was deprecated in Xerces 2.9.0. It is recommended 
+ * that new applications use JAXP's Transformation API for XML (TrAX) for 
+ * serializing HTML. See the Xerces documentation for more information.
  * @version $Revision$ $Date$
  * @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>
  */

Modified: xerces/java/trunk/src/org/apache/xml/serialize/IndentPrinter.java
URL: http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xml/serialize/IndentPrinter.java?view=diff&rev=476047&r1=476046&r2=476047
==============================================================================
--- xerces/java/trunk/src/org/apache/xml/serialize/IndentPrinter.java (original)
+++ xerces/java/trunk/src/org/apache/xml/serialize/IndentPrinter.java Thu Nov 16 20:27:45 2006
@@ -28,6 +28,10 @@
  * Extends {@link Printer} and adds support for indentation and line
  * wrapping.
  *
+ * @deprecated This class was deprecated in Xerces 2.9.0. It is recommended 
+ * that new applications use the DOM Level 3 LSSerializer or JAXP's Transformation 
+ * API for XML (TrAX) for serializing XML. See the Xerces documentation for more 
+ * information.
  * @version $Revision$ $Date$
  * @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>
  */

Modified: xerces/java/trunk/src/org/apache/xml/serialize/LineSeparator.java
URL: http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xml/serialize/LineSeparator.java?view=diff&rev=476047&r1=476046&r2=476047
==============================================================================
--- xerces/java/trunk/src/org/apache/xml/serialize/LineSeparator.java (original)
+++ xerces/java/trunk/src/org/apache/xml/serialize/LineSeparator.java Thu Nov 16 20:27:45 2006
@@ -20,6 +20,10 @@
 
 
 /**
+ * @deprecated This class was deprecated in Xerces 2.9.0. It is recommended 
+ * that new applications use the DOM Level 3 LSSerializer or JAXP's Transformation 
+ * API for XML (TrAX) for serializing XML. See the Xerces documentation for more 
+ * information.
  * @version $Revision$ $Date$
  * @author <a href="mailto:arkin@intalio..com">Assaf Arkin</a>
  * @see OutputFormat

Modified: xerces/java/trunk/src/org/apache/xml/serialize/Method.java
URL: http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xml/serialize/Method.java?view=diff&rev=476047&r1=476046&r2=476047
==============================================================================
--- xerces/java/trunk/src/org/apache/xml/serialize/Method.java (original)
+++ xerces/java/trunk/src/org/apache/xml/serialize/Method.java Thu Nov 16 20:27:45 2006
@@ -20,6 +20,10 @@
 
 
 /**
+ * @deprecated This class was deprecated in Xerces 2.9.0. It is recommended 
+ * that new applications use the DOM Level 3 LSSerializer or JAXP's Transformation 
+ * API for XML (TrAX) for serializing XML. See the Xerces documentation for more 
+ * information.
  * @version $Revision$ $Date$
  * @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>
  * @see OutputFormat

Modified: xerces/java/trunk/src/org/apache/xml/serialize/OutputFormat.java
URL: http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xml/serialize/OutputFormat.java?view=diff&rev=476047&r1=476046&r2=476047
==============================================================================
--- xerces/java/trunk/src/org/apache/xml/serialize/OutputFormat.java (original)
+++ xerces/java/trunk/src/org/apache/xml/serialize/OutputFormat.java Thu Nov 16 20:27:45 2006
@@ -51,6 +51,10 @@
  * </ul>
  *
  *
+ * @deprecated This class was deprecated in Xerces 2.9.0. It is recommended 
+ * that new applications use the DOM Level 3 LSSerializer or JAXP's Transformation 
+ * API for XML (TrAX) for serializing XML and HTML. See the Xerces documentation for 
+ * more information.
  * @version $Revision$ $Date$
  * @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>
  *         <a href="mailto:visco@intalio.com">Keith Visco</a>

Modified: xerces/java/trunk/src/org/apache/xml/serialize/Printer.java
URL: http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xml/serialize/Printer.java?view=diff&rev=476047&r1=476046&r2=476047
==============================================================================
--- xerces/java/trunk/src/org/apache/xml/serialize/Printer.java (original)
+++ xerces/java/trunk/src/org/apache/xml/serialize/Printer.java Thu Nov 16 20:27:45 2006
@@ -36,6 +36,10 @@
  * {@link IndentPrinter} supports indentation and line wrapping by
  * extending this class.
  *
+ * @deprecated This class was deprecated in Xerces 2.9.0. It is recommended 
+ * that new applications use the DOM Level 3 LSSerializer or JAXP's Transformation 
+ * API for XML (TrAX) for serializing XML. See the Xerces documentation for more 
+ * information.
  * @version $Revision$ $Date$
  * @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>
  */

Modified: xerces/java/trunk/src/org/apache/xml/serialize/Serializer.java
URL: http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xml/serialize/Serializer.java?view=diff&rev=476047&r1=476046&r2=476047
==============================================================================
--- xerces/java/trunk/src/org/apache/xml/serialize/Serializer.java (original)
+++ xerces/java/trunk/src/org/apache/xml/serialize/Serializer.java Thu Nov 16 20:27:45 2006
@@ -50,7 +50,10 @@
  * format or method are missing, the default is an XML serializer with
  * UTF-8 encoding and now indentation.
  * 
- *
+ * @deprecated This class was deprecated in Xerces 2.9.0. It is recommended 
+ * that new applications use the DOM Level 3 LSSerializer or JAXP's Transformation 
+ * API for XML (TrAX) for serializing XML and HTML. See the Xerces documentation for more 
+ * information.
  * @version $Revision$ $Date$
  * @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>
  * @author <a href="mailto:Scott_Boag/CAM/Lotus@lotus.com">Scott Boag</a>

Modified: xerces/java/trunk/src/org/apache/xml/serialize/SerializerFactory.java
URL: http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xml/serialize/SerializerFactory.java?view=diff&rev=476047&r1=476046&r2=476047
==============================================================================
--- xerces/java/trunk/src/org/apache/xml/serialize/SerializerFactory.java (original)
+++ xerces/java/trunk/src/org/apache/xml/serialize/SerializerFactory.java Thu Nov 16 20:27:45 2006
@@ -24,6 +24,10 @@
 import java.util.StringTokenizer;
 
 /**
+ * @deprecated This class was deprecated in Xerces 2.9.0. It is recommended 
+ * that new applications use the DOM Level 3 LSSerializer or JAXP's Transformation 
+ * API for XML (TrAX) for serializing XML and HTML. See the Xerces documentation for more 
+ * information.
  * @version $Revision$ $Date$
  * @author <a href="mailto:Scott_Boag/CAM/Lotus@lotus.com">Scott Boag</a>
  * @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>

Modified: xerces/java/trunk/src/org/apache/xml/serialize/SerializerFactoryImpl.java
URL: http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xml/serialize/SerializerFactoryImpl.java?view=diff&rev=476047&r1=476046&r2=476047
==============================================================================
--- xerces/java/trunk/src/org/apache/xml/serialize/SerializerFactoryImpl.java (original)
+++ xerces/java/trunk/src/org/apache/xml/serialize/SerializerFactoryImpl.java Thu Nov 16 20:27:45 2006
@@ -28,7 +28,10 @@
  * Default serializer factory can construct serializers for the three
  * markup serializers (XML, HTML, XHTML ).
  *
- *
+ * @deprecated This class was deprecated in Xerces 2.9.0. It is recommended 
+ * that new applications use the DOM Level 3 LSSerializer or JAXP's Transformation 
+ * API for XML (TrAX) for serializing XML and HTML. See the Xerces documentation for more 
+ * information.
  * @version $Revision$ $Date$
  * @author <a href="mailto:Scott_Boag/CAM/Lotus@lotus.com">Scott Boag</a>
  * @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>

Modified: xerces/java/trunk/src/org/apache/xml/serialize/TextSerializer.java
URL: http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xml/serialize/TextSerializer.java?view=diff&rev=476047&r1=476046&r2=476047
==============================================================================
--- xerces/java/trunk/src/org/apache/xml/serialize/TextSerializer.java (original)
+++ xerces/java/trunk/src/org/apache/xml/serialize/TextSerializer.java Thu Nov 16 20:27:45 2006
@@ -52,7 +52,10 @@
  * at the end of serializing (either DOM or SAX's {@link
  * org.xml.sax.DocumentHandler#endDocument}.
  *
- *
+ * @deprecated This class was deprecated in Xerces 2.9.0. It is recommended 
+ * that new applications use the DOM Level 3 LSSerializer or JAXP's Transformation 
+ * API for XML (TrAX) for serializing XML and HTML. See the Xerces documentation for more 
+ * information.
  * @version $Revision$ $Date$
  * @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>
  * @see Serializer

Modified: xerces/java/trunk/src/org/apache/xml/serialize/XML11Serializer.java
URL: http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xml/serialize/XML11Serializer.java?view=diff&rev=476047&r1=476046&r2=476047
==============================================================================
--- xerces/java/trunk/src/org/apache/xml/serialize/XML11Serializer.java (original)
+++ xerces/java/trunk/src/org/apache/xml/serialize/XML11Serializer.java Thu Nov 16 20:27:45 2006
@@ -69,6 +69,11 @@
  * boundaries, indent lines, and serialize elements on separate
  * lines. Line terminators will be regarded as spaces, and
  * spaces at beginning of line will be stripped.
+ * 
+ * @deprecated This class was deprecated in Xerces 2.9.0. It is recommended 
+ * that new applications use the DOM Level 3 LSSerializer or JAXP's Transformation 
+ * API for XML (TrAX) for serializing XML. See the Xerces documentation for more 
+ * information.
  * @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>
  * @author <a href="mailto:rahul.srivastava@sun.com">Rahul Srivastava</a>
  * @author Elena Litani IBM

Modified: xerces/java/trunk/src/org/apache/xml/serialize/XMLSerializer.java
URL: http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xml/serialize/XMLSerializer.java?view=diff&rev=476047&r1=476046&r2=476047
==============================================================================
--- xerces/java/trunk/src/org/apache/xml/serialize/XMLSerializer.java (original)
+++ xerces/java/trunk/src/org/apache/xml/serialize/XMLSerializer.java Thu Nov 16 20:27:45 2006
@@ -78,6 +78,11 @@
  * boundaries, indent lines, and serialize elements on separate
  * lines. Line terminators will be regarded as spaces, and
  * spaces at beginning of line will be stripped.
+ * 
+ * @deprecated This class was deprecated in Xerces 2.9.0. It is recommended 
+ * that new applications use the DOM Level 3 LSSerializer or JAXP's Transformation 
+ * API for XML (TrAX) for serializing XML. See the Xerces documentation for more 
+ * information.
  * @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>
  * @author <a href="mailto:rahul.srivastava@sun.com">Rahul Srivastava</a>
  * @author Elena Litani IBM



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org