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