jaxp/src/com/sun/org/apache/xml/internal/serializer/ToStream.java
changeset 16953 a44e04deb948
parent 12902 0a840d92fa30
child 24888 2e493ac78624
equal deleted inserted replaced
16416:bcebd3fdefc9 16953:a44e04deb948
    20 /*
    20 /*
    21  * $Id: ToStream.java,v 1.4 2005/11/10 06:43:26 suresh_emailid Exp $
    21  * $Id: ToStream.java,v 1.4 2005/11/10 06:43:26 suresh_emailid Exp $
    22  */
    22  */
    23 package com.sun.org.apache.xml.internal.serializer;
    23 package com.sun.org.apache.xml.internal.serializer;
    24 
    24 
       
    25 import com.sun.org.apache.xalan.internal.utils.SecuritySupport;
    25 import java.io.IOException;
    26 import java.io.IOException;
    26 import java.io.OutputStream;
    27 import java.io.OutputStream;
    27 import java.io.UnsupportedEncodingException;
    28 import java.io.UnsupportedEncodingException;
    28 import java.io.Writer;
    29 import java.io.Writer;
    29 import java.util.Properties;
    30 import java.util.Properties;
   138      * The default value is from the system property,
   139      * The default value is from the system property,
   139      * but this value can be set through the xsl:output
   140      * but this value can be set through the xsl:output
   140      * extension attribute xalan:line-separator.
   141      * extension attribute xalan:line-separator.
   141      */
   142      */
   142     protected char[] m_lineSep =
   143     protected char[] m_lineSep =
   143         System.getProperty("line.separator").toCharArray();
   144         SecuritySupport.getSystemProperty("line.separator").toCharArray();
   144 
   145 
   145     /**
   146     /**
   146      * True if the the system line separator is to be used.
   147      * True if the the system line separator is to be used.
   147      */
   148      */
   148     protected boolean m_lineSepUse = true;
   149     protected boolean m_lineSepUse = true;