< prev index next >

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

Print this page




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




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


< prev index next >