| java.lang.Object net.sf.saxon.codenorm.Normalizer
Normalizer | public class Normalizer (Code) | | Implements Unicode Normalization Forms C, D, KC, KD.
Copyright (c) 1991-2005 Unicode, Inc.
For terms of use, see http://www.unicode.org/terms_of_use.html
For documentation, see UAX#15.
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: Vladimir Weinstein & Markus Scherer author: Modified to remove dependency on ICU code: Michael Kay |
Constructor Summary | |
public | Normalizer(byte form) Create a normalizer for a given form. |
COMPATIBILITY_MASKCOMPOSITION_MASK | final static byte COMPATIBILITY_MASKCOMPOSITION_MASK(Code) | | Masks for the form selector
|
DCKDKC | final public static byte DCKDKC(Code) | | Normalization Form Selector
|
Normalizer | public Normalizer(byte form)(Code) | | Create a normalizer for a given form.
|
getExcluded | boolean getExcluded(char ch)(Code) | | Just accessible for testing.
|
getRawDecompositionMapping | String getRawDecompositionMapping(char ch)(Code) | | Just accessible for testing.
|
normalize | public StringBuffer normalize(CharSequence source, StringBuffer target)(Code) | | Normalizes text according to the chosen form,
replacing contents of the target buffer.
Parameters: source - the original text, unnormalized Parameters: target - the resulting normalized text |
normalize | public CharSequence normalize(CharSequence source)(Code) | | Normalizes text according to the chosen form
Parameters: source - the original text, unnormalized target the resulting normalized text |
|
|