public class Normalizer
extends java.lang.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.
|
Modifier and Type | Method and Description |
---|---|
java.lang.CharSequence |
normalize(java.lang.CharSequence source)
Normalizes text according to the chosen 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 failsCopyright (c) 2004-2018 Saxonica Limited. All rights reserved.