Package com.sun.msv.datatype.xsd
Class WhiteSpaceProcessor.Replace
- java.lang.Object
-
- com.sun.msv.datatype.xsd.WhiteSpaceProcessor
-
- com.sun.msv.datatype.xsd.WhiteSpaceProcessor.Replace
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- WhiteSpaceProcessor
private static class WhiteSpaceProcessor.Replace extends WhiteSpaceProcessor
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUID-
Fields inherited from class com.sun.msv.datatype.xsd.WhiteSpaceProcessor
theCollapse, thePreserve, theReplace
-
-
Constructor Summary
Constructors Modifier Constructor Description privateReplace()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()gets the name of the white space processing mode.java.lang.Stringprocess(java.lang.String text)returns whitespace normalized text.(package private) inttightness()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:WhiteSpaceProcessorreturns whitespace normalized text. behavior varies on what normalization mode is used.- Specified by:
processin classWhiteSpaceProcessor
-
tightness
int tightness()
Description copied from class:WhiteSpaceProcessorhigher return value indicates tigher constraint- Specified by:
tightnessin classWhiteSpaceProcessor
-
getName
public java.lang.String getName()
Description copied from class:WhiteSpaceProcessorgets the name of the white space processing mode. It is one of "preserve","collapse", or "replace".- Specified by:
getNamein classWhiteSpaceProcessor
-
-