public class Normalizer extends Object
Modifier and Type | Field and Description |
---|---|
static int |
C
Normalization Form Selector
|
static int |
D
Normalization Form Selector
|
static int |
KC
Normalization Form Selector
|
static int |
KD
Normalization Form Selector
|
static int |
NO_ACTION
Normalization Form Selector
|
Constructor and Description |
---|
Normalizer(int form,
Configuration config)
Create a normalizer for a given form.
|
public static final int D
public static final int C
public static final int KD
public static final int KC
public static final int NO_ACTION
public Normalizer(int form, Configuration config) throws XPathException
form
- the normalization form required: for example C
, D
config
- the Saxon configurationXPathException
- if normalization failspublic CharSequence normalize(CharSequence source)
source
- the original text, unnormalizedCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.