net.sf.saxon.charcode

Class ISO88595CharacterSet

Implemented Interfaces:
CharacterSet

public class ISO88595CharacterSet
extends java.lang.Object
implements CharacterSet

Description: This class implements the CharacterSet to support ISO-8859-5 (Latin/Cyrillic) encoding. The character mapping was obtained by extracting the Unicode values from an iconv character table (iso85=ucs2) available on HP-UX 11.23.

The class was tested by transforming a document with ISO-8859-5 set as the output encoding, converting Shif_JIS output to utf-8 using iconv, and then comparing converted content to the same transformed document with utf-8 set as the output encoding.

Checked by MHK against http://www.unicode.org/Public/MAPPINGS/ISO8859/8859-5.TXT

Constructor Summary

ISO88595CharacterSet()

Method Summary

String
getEncodingName()
static ISO88595CharacterSet
getInstance()
boolean
inCharset(int ch)
Determine if a character is present in the character set

Constructor Details

ISO88595CharacterSet

public ISO88595CharacterSet()

Method Details

getEncodingName

public final String getEncodingName()

getInstance

public static ISO88595CharacterSet getInstance()

inCharset

public final boolean inCharset(int ch)
Determine if a character is present in the character set
Specified by:
inCharset in interface CharacterSet