101 * <p> 102 * If an I/O exception occurs while serializing, the serializer 103 * will not throw an exception directly, but only throw it 104 * at the end of serializing (either DOM or SAX's {@link 105 * org.xml.sax.DocumentHandler#endDocument}. 106 * <p> 107 * For elements that are not specified as whitespace preserving, 108 * the serializer will potentially break long text lines at space 109 * boundaries, indent lines, and serialize elements on separate 110 * lines. Line terminators will be regarded as spaces, and 111 * spaces at beginning of line will be stripped. 112 * <p> 113 * When indenting, the serializer is capable of detecting seemingly 114 * element content, and serializing these elements indented on separate 115 * lines. An element is serialized indented when it is the first or 116 * last child of an element, or immediate following or preceding 117 * another element. 118 * 119 * 120 * @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a> 121 * @author <a href="mailto:rahul.srivastava@sun.com">Rahul Srivastava</a> 122 * @author Elena Litani, IBM 123 * @author Sunitha Reddy, Sun Microsystems 124 * @see Serializer 125 * @see org.w3c.dom.ls.LSSerializer 126 * 127 * @deprecated As of JDK 9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation 128 * is replaced by that of Xalan. Main class 129 * {@link com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl} is replaced 130 * by {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}. 131 * 132 * @LastModified: Nov 2017 133 */ 134 @Deprecated 135 public abstract class BaseMarkupSerializer 136 implements ContentHandler, DocumentHandler, LexicalHandler, 137 DTDHandler, DeclHandler, DOMSerializer, Serializer 138 { 139 140 // DOM L3 implementation 141 protected short features = 0xFFFFFFFF; 142 protected DOMErrorHandler fDOMErrorHandler; 143 protected final DOMErrorImpl fDOMError = new DOMErrorImpl(); | 101 * <p> 102 * If an I/O exception occurs while serializing, the serializer 103 * will not throw an exception directly, but only throw it 104 * at the end of serializing (either DOM or SAX's {@link 105 * org.xml.sax.DocumentHandler#endDocument}. 106 * <p> 107 * For elements that are not specified as whitespace preserving, 108 * the serializer will potentially break long text lines at space 109 * boundaries, indent lines, and serialize elements on separate 110 * lines. Line terminators will be regarded as spaces, and 111 * spaces at beginning of line will be stripped. 112 * <p> 113 * When indenting, the serializer is capable of detecting seemingly 114 * element content, and serializing these elements indented on separate 115 * lines. An element is serialized indented when it is the first or 116 * last child of an element, or immediate following or preceding 117 * another element. 118 * 119 * 120 * @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a> 121 * @author Rahul Srivastava 122 * @author Elena Litani, IBM 123 * @author Sunitha Reddy 124 * @see Serializer 125 * @see org.w3c.dom.ls.LSSerializer 126 * 127 * @deprecated As of JDK 9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation 128 * is replaced by that of Xalan. Main class 129 * {@link com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl} is replaced 130 * by {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}. 131 * 132 * @LastModified: Nov 2017 133 */ 134 @Deprecated 135 public abstract class BaseMarkupSerializer 136 implements ContentHandler, DocumentHandler, LexicalHandler, 137 DTDHandler, DeclHandler, DOMSerializer, Serializer 138 { 139 140 // DOM L3 implementation 141 protected short features = 0xFFFFFFFF; 142 protected DOMErrorHandler fDOMErrorHandler; 143 protected final DOMErrorImpl fDOMError = new DOMErrorImpl(); |