src/java.xml/share/classes/com/sun/xml/internal/stream/writers/WriterUtility.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
29 import java.io.IOException; |
29 import java.io.IOException; |
30 import java.io.OutputStreamWriter; |
30 import java.io.OutputStreamWriter; |
31 import java.io.Writer; |
31 import java.io.Writer; |
32 import java.nio.charset.Charset; |
32 import java.nio.charset.Charset; |
33 import java.nio.charset.CharsetEncoder; |
33 import java.nio.charset.CharsetEncoder; |
34 import com.sun.org.apache.xerces.internal.util.XMLChar; |
34 import jdk.xml.internal.SecuritySupport; |
35 import com.sun.org.apache.xerces.internal.utils.SecuritySupport; |
|
36 |
35 |
37 /** |
36 /** |
38 * Implements common xml writer functions. |
37 * Implements common xml writer functions. |
39 * |
38 * |
40 * @author Neeraj Bajaj,K.Venugopal Sun Microsystems. |
39 * @author Neeraj Bajaj,K.Venugopal Sun Microsystems. |