net.sf.saxon.charcode
Class ASCIICharacterSet

java.lang.Object
  extended by net.sf.saxon.charcode.ASCIICharacterSet
All Implemented Interfaces:
CharacterSet

public class ASCIICharacterSet
extends Object
implements CharacterSet

This class defines properties of the US-ASCII character set


Field Summary
static ASCIICharacterSet theInstance
           
 
Method Summary
 String getCanonicalName()
          Get the preferred Java name of the character set.
static ASCIICharacterSet getInstance()
           
 boolean inCharset(int c)
          Determine if a character is present in the character set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

theInstance

public static ASCIICharacterSet theInstance
Method Detail

getInstance

public static ASCIICharacterSet 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 interface CharacterSet

getCanonicalName

public String 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 interface CharacterSet


Copyright (c) Saxonica Limited. All rights reserved.