Deprecated
This class was deprecated in Xerces 2.9.0. It is recommended that new applications use the DOM Level 3 LSSerializer or JAXP's Transformation API for XML (TrAX) for serializing XML. See the Xerces documentation for more information.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | EncodingInfo.CharsetMethods
Holder of methods from java.nio.charset.Charset and java.nio.charset.CharsetEncoder. |
| pack-priv static class | EncodingInfo.CharToByteConverterMethods
Holder of methods from sun.io.CharToByteConverter. |
| Modifier and Type | Field and Description |
|---|---|
| private Object[] | |
| pack-priv Object | |
| pack-priv Object | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv String | |
| pack-priv String | |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public Writer | Returns: A suitable writerReturns a writer for this encoding based on an output stream. |
| public boolean | isPrintable(char
a code point (0-0x10ffff) ch)Checks whether the specified character is printable or not in this encoding. |
| private boolean | isPrintable0(char
a code point (0-0x10ffff) ch)Checks whether the specified character is printable or not in this encoding. |
| public static void |
| fArgsForMethod | back to summary |
|---|---|
| private Object[] fArgsForMethod | |
| fCharsetEncoder | back to summary |
|---|---|
| pack-priv Object fCharsetEncoder | |
| fCharToByteConverter | back to summary |
|---|---|
| pack-priv Object fCharToByteConverter | |
| fHaveTriedCharsetEncoder | back to summary |
|---|---|
| pack-priv boolean fHaveTriedCharsetEncoder | |
| fHaveTriedCToB | back to summary |
|---|---|
| pack-priv boolean fHaveTriedCToB | |
| ianaName | back to summary |
|---|---|
| pack-priv String ianaName | |
| javaName | back to summary |
|---|---|
| pack-priv String javaName | |
| lastPrintable | back to summary |
|---|---|
| pack-priv int lastPrintable | |
| EncodingInfo | back to summary |
|---|---|
| public EncodingInfo(String ianaName, String javaName, int lastPrintable) Creates new | |
| getIANAName | back to summary |
|---|---|
| public String getIANAName() Returns a MIME charset name of this encoding. | |
| getWriter | back to summary |
|---|---|
| public Writer getWriter(OutputStream output) throws UnsupportedEncodingException Returns a writer for this encoding based on an output stream.
| |
| isPrintable | back to summary |
|---|---|
| public boolean isPrintable(char ch) Checks whether the specified character is printable or not in this encoding.
| |
| isPrintable0 | back to summary |
|---|---|
| private boolean isPrintable0(char ch) Checks whether the specified character is printable or not in this encoding. This method accomplishes this using a java.nio.CharsetEncoder. If NIO isn't available it will attempt use a sun.io.CharToByteConverter.
| |
| testJavaEncodingName | back to summary |
|---|---|
| public static void testJavaEncodingName(String name) throws UnsupportedEncodingException | |
| Modifier and Type | Field and Description |
|---|---|
| private static Method | |
| private static Method | |
| private static Method | |
| private static Method | |
| private static boolean |
| Access | Constructor and Description |
|---|---|
| private |
| fgCharsetCanEncodeMethod | back to summary |
|---|---|
| private static Method fgCharsetCanEncodeMethod | |
| fgCharsetEncoderCanEncodeMethod | back to summary |
|---|---|
| private static Method fgCharsetEncoderCanEncodeMethod | |
| fgCharsetForNameMethod | back to summary |
|---|---|
| private static Method fgCharsetForNameMethod | |
| fgCharsetNewEncoderMethod | back to summary |
|---|---|
| private static Method fgCharsetNewEncoderMethod | |
| fgNIOCharsetAvailable | back to summary |
|---|---|
| private static boolean fgNIOCharsetAvailable | |
| CharsetMethods | back to summary |
|---|---|
| private CharsetMethods() | |
| Modifier and Type | Field and Description |
|---|---|
| private static Method | |
| private static boolean | |
| private static Method |
| Access | Constructor and Description |
|---|---|
| private |
| fgCanConvertMethod | back to summary |
|---|---|
| private static Method fgCanConvertMethod | |
| fgConvertersAvailable | back to summary |
|---|---|
| private static boolean fgConvertersAvailable | |
| fgGetConverterMethod | back to summary |
|---|---|
| private static Method fgGetConverterMethod | |
| CharToByteConverterMethods | back to summary |
|---|---|
| private CharToByteConverterMethods() | |