com.sun.msv.datatype.xsd
public abstract class WhiteSpaceProcessor extends java.lang.Object implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static WhiteSpaceProcessor |
theCollapse |
static WhiteSpaceProcessor |
thePreserve |
static WhiteSpaceProcessor |
theReplace |
Constructor and Description |
---|
WhiteSpaceProcessor() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
collapse(java.lang.String str) |
abstract java.lang.String |
getName()
gets the name of the white space processing mode.
|
abstract java.lang.String |
process(java.lang.String text)
returns whitespace normalized text.
|
static java.lang.String |
replace(java.lang.String str) |
public static final WhiteSpaceProcessor thePreserve
public static final WhiteSpaceProcessor theReplace
public static final WhiteSpaceProcessor theCollapse
public abstract java.lang.String process(java.lang.String text)
public abstract java.lang.String getName()
public static java.lang.String replace(java.lang.String str)
public static java.lang.String collapse(java.lang.String str)