Package net.sf.saxon.serialize.charcode
Class ASCIICharacterSet
java.lang.Object
net.sf.saxon.serialize.charcode.ASCIICharacterSet
- All Implemented Interfaces:
CharacterSet
This class defines properties of the US-ASCII character set
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet the preferred Java name of the character set.static ASCIICharacterSet
final boolean
inCharset
(int c) Determine if a character is present in the character set
-
Field Details
-
theInstance
-
-
Method Details
-
getInstance
-
inCharset
public final boolean inCharset(int c) Description copied from interface:CharacterSet
Determine if a character is present in the character set- Specified by:
inCharset
in interfaceCharacterSet
- Parameters:
c
- the codepoint being tested- Returns:
- true if the codepoint is supported
-
getCanonicalName
Description copied from interface:CharacterSet
Get the preferred Java name of the character set. Note that Java in many cases also supports a "historic name".- Specified by:
getCanonicalName
in interfaceCharacterSet
- Returns:
- the preferred Java name
-