com.sun.msv.datatype.xsd
Class WhiteSpaceProcessor
- Serializable
public abstract class WhiteSpaceProcessor
implements Serializable
processes white space normalization
static String | collapse(String str)
|
abstract String | getName() - gets the name of the white space processing mode.
|
abstract String | process(String text) - returns whitespace normalized text.
|
static String | replace(String str)
|
collapse
public static String collapse(String str)
getName
public abstract String getName()
gets the name of the white space processing mode.
It is one of "preserve","collapse", or "replace".
process
public abstract String process(String text)
returns whitespace normalized text.
behavior varies on what normalization mode is used.
replace
public static String replace(String str)