< prev index next >

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

Print this page




  43  * XSLT specification for output format, plus additional parameters.
  44  * Used to select the suitable serializer and determine how the
  45  * document should be formatted on output.
  46  * <p>
  47  * The two interesting constructors are:
  48  * <ul>
  49  * <li>{@link #OutputFormat(String,String,boolean)} creates a format
  50  *  for the specified method (XML, HTML, Text, etc), encoding and indentation
  51  * <li>{@link #OutputFormat(Document,String,boolean)} creates a format
  52  *  compatible with the document type (XML, HTML, Text, etc), encoding and
  53  *  indentation
  54  * </ul>
  55  *
  56  *
  57  * @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>
  58  *         <a href="mailto:visco@intalio.com">Keith Visco</a>
  59  * @see Serializer
  60  * @see Method
  61  * @see LineSeparator
  62  *
  63  * @deprecated As of JDK 1.9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation
  64  * is replaced by that of Xalan. Main class
  65  * {@link com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl} is replaced
  66  * by {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}.
  67  */
  68 public class OutputFormat
  69 {
  70 
  71 
  72     public static class DTD
  73     {
  74 
  75         /**
  76          * Public identifier for HTML 4.01 (Strict) document type.
  77          */
  78         public static final String HTMLPublicId = "-//W3C//DTD HTML 4.01//EN";
  79 
  80         /**
  81          * System identifier for HTML 4.01 (Strict) document type.
  82          */
  83         public static final String HTMLSystemId =




  43  * XSLT specification for output format, plus additional parameters.
  44  * Used to select the suitable serializer and determine how the
  45  * document should be formatted on output.
  46  * <p>
  47  * The two interesting constructors are:
  48  * <ul>
  49  * <li>{@link #OutputFormat(String,String,boolean)} creates a format
  50  *  for the specified method (XML, HTML, Text, etc), encoding and indentation
  51  * <li>{@link #OutputFormat(Document,String,boolean)} creates a format
  52  *  compatible with the document type (XML, HTML, Text, etc), encoding and
  53  *  indentation
  54  * </ul>
  55  *
  56  *
  57  * @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>
  58  *         <a href="mailto:visco@intalio.com">Keith Visco</a>
  59  * @see Serializer
  60  * @see Method
  61  * @see LineSeparator
  62  *
  63  * @deprecated As of JDK 9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation
  64  * is replaced by that of Xalan. Main class
  65  * {@link com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl} is replaced
  66  * by {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}.
  67  */
  68 public class OutputFormat
  69 {
  70 
  71 
  72     public static class DTD
  73     {
  74 
  75         /**
  76          * Public identifier for HTML 4.01 (Strict) document type.
  77          */
  78         public static final String HTMLPublicId = "-//W3C//DTD HTML 4.01//EN";
  79 
  80         /**
  81          * System identifier for HTML 4.01 (Strict) document type.
  82          */
  83         public static final String HTMLSystemId =


< prev index next >