diff -r 1d7e6da6adc8 -r c348e06f0e82 jaxp/src/com/sun/org/apache/xml/internal/serialize/LineSeparator.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/jaxp/src/com/sun/org/apache/xml/internal/serialize/LineSeparator.java Thu Apr 12 08:38:26 2012 -0700 @@ -0,0 +1,57 @@ +/* + * reserved comment block + * DO NOT REMOVE OR ALTER! + */ +/* + * Copyright 1999-2002,2004 The Apache Software Foundation. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +package com.sun.org.apache.xml.internal.serialize; + + +/** + * @author Assaf Arkin + * @see OutputFormat + */ +public final class LineSeparator +{ + + + /** + * Line separator for Unix systems (\n). + */ + public static final String Unix = "\n"; + + + /** + * Line separator for Windows systems (\r\n). + */ + public static final String Windows = "\r\n"; + + + /** + * Line separator for Macintosh systems (\r). + */ + public static final String Macintosh = "\r"; + + + /** + * Line separator for the Web (\n). + */ + public static final String Web = "\n"; + + +}