private static class WhiteSpaceProcessor.Preserve extends WhiteSpaceProcessor
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
theCollapse, thePreserve, theReplace
Modifier | Constructor and Description |
---|---|
private |
Preserve() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
gets the name of the white space processing mode.
|
java.lang.String |
process(java.lang.String text)
returns whitespace normalized text.
|
(package private) int |
tightness()
higher return value indicates tigher constraint
|
collapse, get, isWhiteSpace, readResolve, replace
private static final long serialVersionUID
public java.lang.String process(java.lang.String text)
WhiteSpaceProcessor
process
in class WhiteSpaceProcessor
int tightness()
WhiteSpaceProcessor
tightness
in class WhiteSpaceProcessor
public java.lang.String getName()
WhiteSpaceProcessor
getName
in class WhiteSpaceProcessor