Package net.sf.saxon.serialize.charcode
Class ASCIICharacterSet
- java.lang.Object
-
- net.sf.saxon.serialize.charcode.ASCIICharacterSet
-
- All Implemented Interfaces:
CharacterSet
public class ASCIICharacterSet extends java.lang.Object implements CharacterSet
This class defines properties of the US-ASCII character set
-
-
Field Summary
Fields Modifier and Type Field Description static ASCIICharacterSettheInstance
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCanonicalName()Get the preferred Java name of the character set.static ASCIICharacterSetgetInstance()booleaninCharset(int c)Determine if a character is present in the character set
-
-
-
Field Detail
-
theInstance
public static final ASCIICharacterSet theInstance
-
-
Method Detail
-
getInstance
public static ASCIICharacterSet getInstance()
-
inCharset
public final boolean inCharset(int c)
Description copied from interface:CharacterSetDetermine if a character is present in the character set- Specified by:
inCharsetin interfaceCharacterSet
-
getCanonicalName
public java.lang.String getCanonicalName()
Description copied from interface:CharacterSetGet the preferred Java name of the character set. Note that Java in many cases also supports a "historic name".- Specified by:
getCanonicalNamein interfaceCharacterSet
-
-