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 class
private static class
private static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final WhiteSpaceProcessor
Deprecated.private static final WhiteSpaceProcessor
Deprecated.private static final WhiteSpaceProcessor
Deprecated.private static final long
static final WhiteSpaceProcessor
static final WhiteSpaceProcessor
static final WhiteSpaceProcessor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
protected static WhiteSpaceProcessor
returns a WhiteSpaceProcessor object if "whiteSpace" facet is specified.abstract String
getName()
gets the name of the white space processing mode.protected static final boolean
isWhiteSpace
(char ch) returns true if the specified char is a white space character.abstract String
returns whitespace normalized text.protected Object
static String
(package private) abstract int
higher 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
-