equal
deleted
inserted
replaced
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; |