APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.org.apache.xml.internal.serialize

pack-priv Class Encodings

extends Object
Class Inheritance
Annotations
@Deprecated
Imports
com.sun.org.apache.xerces.internal.util.EncodingMap, java.io.UnsupportedEncodingException, java.util.Locale, .Map, java.util.concurrent.ConcurrentHashMap

Deprecated

As of JDK 9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation is replaced by that of Xalan. Main class com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl is replaced by com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl.

Provides information about encodings. Depends on the Java runtime to provides writers for the different encodings, but can be used to override encoding names and provide the last printable character for each encoding.
Author
Assaf Arkin

Field Summary

Modifier and TypeField and Description
private static final Map<String, EncodingInfo>
pack-priv static final String
pack-priv static final int
DEFAULT_LAST_PRINTABLE

The last printable character for unknown encodings.

pack-priv static final String
pack-priv static final int
pack-priv static final String[]

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv static EncodingInfo
getEncodingInfo(String
a MIME charset name, or null.
encoding
,
boolean allowJavaNames)
References Deprecated EncodingInfo is deprecated or references (maybe indirectly) at least one deprecated element.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_encodingsback to summary
private static final Map<String, EncodingInfo> _encodings
DEFAULT_ENCODINGback to summary
pack-priv static final String DEFAULT_ENCODING
DEFAULT_LAST_PRINTABLEback to summary
pack-priv static final int DEFAULT_LAST_PRINTABLE

The last printable character for unknown encodings.

JIS_DANGER_CHARSback to summary
pack-priv static final String JIS_DANGER_CHARS
LAST_PRINTABLE_UNICODEback to summary
pack-priv static final int LAST_PRINTABLE_UNICODE
UNICODE_ENCODINGSback to summary
pack-priv static final String[] UNICODE_ENCODINGS

Constructor Detail

Encodingsback to summary
pack-priv Encodings()

Method Detail

getEncodingInfoback to summary
pack-priv static EncodingInfo getEncodingInfo(String encoding, boolean allowJavaNames) throws UnsupportedEncodingException

References Deprecated

EncodingInfo is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

Parameters
encoding:String

a MIME charset name, or null.