Top Description Fields Constructors Methods
org.apache.xml.serialize

public Class Encodings

extends Object
Class Inheritance
Imports
java.io.UnsupportedEncodingException, java.util.Hashtable, .Locale, org.apache.xerces.util.EncodingMap

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.

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
Version
$Id: Encodings.java 476047 2006-11-17 04:27:45Z mrglavas $

Field Summary

Modifier and TypeField and Description
pack-priv static Hashtable<K, V>
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
public

Method Summary

Modifier and TypeMethod and Description
pack-priv static EncodingInfo
getEncodingInfo(String
a MIME charset name, or null.
encoding
,
boolean allowJavaNames)

Deprecated as a consequence of EncodingInfo being deprecated.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_encodingsback to summary
pack-priv static Hashtable<K, V> _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
public Encodings()

Method Detail

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

Deprecated

as a consequence of EncodingInfo being deprecated. See corresponding docs for further information.

Parameters
encoding:String

a MIME charset name, or null.