| java.lang.Object com.ibm.icu.dev.test.normalizer.NormalizerData
NormalizerData | public class NormalizerData (Code) | | Accesses the Normalization Data used for Forms C and D.
Copyright (C) 1998-2004 International Business Machines Corporation and
Unicode, Inc. All Rights Reserved.
The Unicode Consortium makes no expressed or implied warranty of any
kind, and assumes no liability for errors or omissions.
No liability is assumed for incidental and consequential damages
in connection with or arising out of the use of the information here.
author: Mark Davis author: Updates for supplementary code points: author: Vladimir Weinstein & Markus Scherer |
NOT_COMPOSITE | final public static int NOT_COMPOSITE(Code) | | Constant for use in getPairwiseComposition
|
getCanonicalClass | public int getCanonicalClass(int ch)(Code) | | Gets the combining class of a character from the
Unicode Character Database.
Parameters: ch - the source character value from 0 to 255 |
getExcluded | boolean getExcluded(char ch)(Code) | | Just accessible for testing.
|
getPairwiseComposition | public int getPairwiseComposition(int first, int second)(Code) | | Returns the composite of the two characters. If the two
characters don't combine, returns NOT_COMPOSITE.
Parameters: first - first character (e.g. 'c') Parameters: second - second character (e.g. \u0327 cedilla) composite (e.g. \u00C7 c cedilla) |
getRawDecompositionMapping | String getRawDecompositionMapping(char ch)(Code) | | Just accessible for testing.
|
getRecursiveDecomposition | public void getRecursiveDecomposition(boolean canonical, int ch, StringBuffer buffer)(Code) | | Gets recursive decomposition of a character from the
Unicode Character Database.
Parameters: canonical - If truebit is on in this byte, then selects the recursivecanonical decomposition, otherwise selectsthe recursive compatibility and canonical decomposition. Parameters: ch - the source character Parameters: buffer - buffer to be filled with the decomposition |
|
|