Package com.sun.msv.datatype.xsd
Class WhiteSpaceProcessor.Collapse
- java.lang.Object
-
- com.sun.msv.datatype.xsd.WhiteSpaceProcessor
-
- com.sun.msv.datatype.xsd.WhiteSpaceProcessor.Collapse
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- WhiteSpaceProcessor
private static class WhiteSpaceProcessor.Collapse extends WhiteSpaceProcessor
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Fields inherited from class com.sun.msv.datatype.xsd.WhiteSpaceProcessor
theCollapse, thePreserve, theReplace
-
-
Constructor Summary
Constructors Modifier Constructor Description private
Collapse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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-
Methods inherited from class com.sun.msv.datatype.xsd.WhiteSpaceProcessor
collapse, get, isWhiteSpace, readResolve, replace
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
process
public java.lang.String process(java.lang.String text)
Description copied from class:WhiteSpaceProcessor
returns whitespace normalized text. behavior varies on what normalization mode is used.- Specified by:
process
in classWhiteSpaceProcessor
-
tightness
int tightness()
Description copied from class:WhiteSpaceProcessor
higher return value indicates tigher constraint- Specified by:
tightness
in classWhiteSpaceProcessor
-
getName
public java.lang.String getName()
Description copied from class:WhiteSpaceProcessor
gets the name of the white space processing mode. It is one of "preserve","collapse", or "replace".- Specified by:
getName
in classWhiteSpaceProcessor
-
-