< prev index next >

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

Print this page




  10  * (the "License"); you may not use this file except in compliance with
  11  * the License.  You may obtain a copy of the License at
  12  *
  13  *      http://www.apache.org/licenses/LICENSE-2.0
  14  *
  15  * Unless required by applicable law or agreed to in writing, software
  16  * distributed under the License is distributed on an "AS IS" BASIS,
  17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  18  * See the License for the specific language governing permissions and
  19  * limitations under the License.
  20  */
  21 
  22 
  23 package com.sun.org.apache.xml.internal.serialize;
  24 
  25 
  26 /**
  27  * @author <a href="mailto:arkin@intalio..com">Assaf Arkin</a>
  28  * @see OutputFormat
  29  *
  30  * @deprecated As of JDK 1.9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation
  31  * is replaced by that of Xalan. Main class
  32  * {@link com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl} is replaced
  33  * by {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}.
  34  */
  35 public final class LineSeparator
  36 {
  37 
  38 
  39     /**
  40      * Line separator for Unix systems (<tt>\n</tt>).
  41      */
  42     public static final String Unix = "\n";
  43 
  44 
  45     /**
  46      * Line separator for Windows systems (<tt>\r\n</tt>).
  47      */
  48     public static final String Windows = "\r\n";
  49 
  50 


  10  * (the "License"); you may not use this file except in compliance with
  11  * the License.  You may obtain a copy of the License at
  12  *
  13  *      http://www.apache.org/licenses/LICENSE-2.0
  14  *
  15  * Unless required by applicable law or agreed to in writing, software
  16  * distributed under the License is distributed on an "AS IS" BASIS,
  17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  18  * See the License for the specific language governing permissions and
  19  * limitations under the License.
  20  */
  21 
  22 
  23 package com.sun.org.apache.xml.internal.serialize;
  24 
  25 
  26 /**
  27  * @author <a href="mailto:arkin@intalio..com">Assaf Arkin</a>
  28  * @see OutputFormat
  29  *
  30  * @deprecated As of JDK 9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation
  31  * is replaced by that of Xalan. Main class
  32  * {@link com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl} is replaced
  33  * by {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}.
  34  */
  35 public final class LineSeparator
  36 {
  37 
  38 
  39     /**
  40      * Line separator for Unix systems (<tt>\n</tt>).
  41      */
  42     public static final String Unix = "\n";
  43 
  44 
  45     /**
  46      * Line separator for Windows systems (<tt>\r\n</tt>).
  47      */
  48     public static final String Windows = "\r\n";
  49 
  50 
< prev index next >