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, replaceprivate static final long serialVersionUID
public java.lang.String process(java.lang.String text)
WhiteSpaceProcessorprocess in class WhiteSpaceProcessorint tightness()
WhiteSpaceProcessortightness in class WhiteSpaceProcessorpublic java.lang.String getName()
WhiteSpaceProcessorgetName in class WhiteSpaceProcessor