| java.lang.Object net.sf.saxon.charcode.UnicodeCharacterSet
UnicodeCharacterSet | final public class UnicodeCharacterSet implements CharacterSet(Code) | | This class defines properties of the Unicode character set
|
Method Summary | |
public static UnicodeCharacterSet | getInstance() | public static int | getUTF8Encoding(char in, char in2, byte[] out) Static method to generate the UTF-8 representation of a Unicode character
Parameters: in - the Unicode character, or the high half of a surrogate pair Parameters: in2 - the low half of a surrogate pair (ignored unless the first argument is in therange for a surrogate pair) Parameters: out - an array of at least 4 bytes to hold the UTF-8 representation. | public boolean | inCharset(int c) |
getUTF8Encoding | public static int getUTF8Encoding(char in, char in2, byte[] out)(Code) | | Static method to generate the UTF-8 representation of a Unicode character
Parameters: in - the Unicode character, or the high half of a surrogate pair Parameters: in2 - the low half of a surrogate pair (ignored unless the first argument is in therange for a surrogate pair) Parameters: out - an array of at least 4 bytes to hold the UTF-8 representation. the number of bytes in the UTF-8 representation |
inCharset | public boolean inCharset(int c)(Code) | | |
|
|