Package com.sun.msv.datatype.xsd
Class WhiteSpaceProcessor
java.lang.Object
com.sun.msv.datatype.xsd.WhiteSpaceProcessor
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
WhiteSpaceProcessor.Collapse,WhiteSpaceProcessor.Preserve,WhiteSpaceProcessor.Replace
processes white space normalization
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static classprivate static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final WhiteSpaceProcessorDeprecated.private static final WhiteSpaceProcessorDeprecated.private static final WhiteSpaceProcessorDeprecated.private static final longstatic final WhiteSpaceProcessorstatic final WhiteSpaceProcessorstatic final WhiteSpaceProcessor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringprotected static WhiteSpaceProcessorreturns a WhiteSpaceProcessor object if "whiteSpace" facet is specified.abstract StringgetName()gets the name of the white space processing mode.protected static final booleanisWhiteSpace(char ch) returns true if the specified char is a white space character.abstract Stringreturns whitespace normalized text.protected Objectstatic String(package private) abstract inthigher return value indicates tigher constraint
-
Field Details
-
thePreserve
-
theReplace
-
theCollapse
-
backwardCompatibiliyHook1
Deprecated.Older version of XSDLib was using an anonymous class. -
backwardCompatibiliyHook2
Deprecated.Older version of XSDLib was using an anonymous class. -
backwardCompatibiliyHook3
Deprecated.Older version of XSDLib was using an anonymous class. -
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
WhiteSpaceProcessor
public WhiteSpaceProcessor()
-
-
Method Details
-
process
returns whitespace normalized text. behavior varies on what normalization mode is used. -
tightness
abstract int tightness()higher return value indicates tigher constraint -
getName
gets the name of the white space processing mode. It is one of "preserve","collapse", or "replace". -
get
returns a WhiteSpaceProcessor object if "whiteSpace" facet is specified. Otherwise returns null.- Throws:
org.relaxng.datatype.DatatypeException
-
isWhiteSpace
protected static final boolean isWhiteSpace(char ch) returns true if the specified char is a white space character. -
readResolve
- Throws:
InvalidObjectException
-
replace
-
collapse
-