net.sf.saxon.charcode

Interface CharacterSet

public interface CharacterSet

This interface defines properties of a character set, built in to the Saxon product. This is selected in xsl:output using encoding="encoding-name", where the mapping from an encoding-name to a class is defined in CharacterSetFactory.
Method Summary
StringgetCanonicalName()
Get the preferred Java name of the character set.
booleaninCharset(int ch)
Determine if a character is present in the character set

Method Detail

getCanonicalName

public String getCanonicalName()
Get the preferred Java name of the character set. Note that Java in many cases also supports a "historic name".

inCharset

public boolean inCharset(int ch)
Determine if a character is present in the character set