< prev index next >

jaxp/src/java.xml/share/classes/com/sun/org/apache/xml/internal/serialize/XML11Serializer.java

Print this page




  62  * {@link org.w3c.dom.ls.LSSerializer} and
  63  * serializing with {@link org.w3c.dom.ls.LSSerializer#write},
  64  * {@link org.w3c.dom.ls.LSSerializer#writeToString}.
  65  * <p>
  66  * If an I/O exception occurs while serializing, the serializer
  67  * will not throw an exception directly, but only throw it
  68  * at the end of serializing (either DOM or SAX's {@link
  69  * org.xml.sax.DocumentHandler#endDocument}.
  70  * <p>
  71  * For elements that are not specified as whitespace preserving,
  72  * the serializer will potentially break long text lines at space
  73  * boundaries, indent lines, and serialize elements on separate
  74  * lines. Line terminators will be regarded as spaces, and
  75  * spaces at beginning of line will be stripped.
  76  *
  77  * @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>
  78  * @author <a href="mailto:rahul.srivastava@sun.com">Rahul Srivastava</a>
  79  * @author Elena Litani IBM
  80  * @see Serializer
  81  *
  82  * @deprecated As of JDK 1.9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation
  83  * is replaced by that of Xalan. Main class
  84  * {@link com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl} is replaced
  85  * by {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}.
  86  */
  87 public class XML11Serializer
  88 extends XMLSerializer {
  89 
  90     //
  91     // constants
  92     //
  93 
  94     protected static final boolean DEBUG = false;
  95 
  96     //
  97     // data
  98     //
  99 
 100     //
 101     // DOM Level 3 implementation: variables intialized in DOMSerializerImpl
 102     //




  62  * {@link org.w3c.dom.ls.LSSerializer} and
  63  * serializing with {@link org.w3c.dom.ls.LSSerializer#write},
  64  * {@link org.w3c.dom.ls.LSSerializer#writeToString}.
  65  * <p>
  66  * If an I/O exception occurs while serializing, the serializer
  67  * will not throw an exception directly, but only throw it
  68  * at the end of serializing (either DOM or SAX's {@link
  69  * org.xml.sax.DocumentHandler#endDocument}.
  70  * <p>
  71  * For elements that are not specified as whitespace preserving,
  72  * the serializer will potentially break long text lines at space
  73  * boundaries, indent lines, and serialize elements on separate
  74  * lines. Line terminators will be regarded as spaces, and
  75  * spaces at beginning of line will be stripped.
  76  *
  77  * @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>
  78  * @author <a href="mailto:rahul.srivastava@sun.com">Rahul Srivastava</a>
  79  * @author Elena Litani IBM
  80  * @see Serializer
  81  *
  82  * @deprecated As of JDK 9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation
  83  * is replaced by that of Xalan. Main class
  84  * {@link com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl} is replaced
  85  * by {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}.
  86  */
  87 public class XML11Serializer
  88 extends XMLSerializer {
  89 
  90     //
  91     // constants
  92     //
  93 
  94     protected static final boolean DEBUG = false;
  95 
  96     //
  97     // data
  98     //
  99 
 100     //
 101     // DOM Level 3 implementation: variables intialized in DOMSerializerImpl
 102     //


< prev index next >