|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.msv.datatype.xsd.WhiteSpaceProcessor
public abstract class WhiteSpaceProcessor
processes white space normalization
Field Summary | |
---|---|
static WhiteSpaceProcessor |
theCollapse
|
static WhiteSpaceProcessor |
thePreserve
|
static WhiteSpaceProcessor |
theReplace
|
Constructor Summary | |
---|---|
WhiteSpaceProcessor()
|
Method Summary | |
---|---|
static String |
collapse(String str)
|
protected static WhiteSpaceProcessor |
get(String name)
returns a WhiteSpaceProcessor object if "whiteSpace" facet is specified. |
abstract String |
getName()
gets the name of the white space processing mode. |
protected static boolean |
isWhiteSpace(char ch)
returns true if the specified char is a white space character. |
abstract String |
process(String text)
returns whitespace normalized text. |
protected Object |
readResolve()
|
static String |
replace(String str)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final WhiteSpaceProcessor thePreserve
public static final WhiteSpaceProcessor theReplace
public static final WhiteSpaceProcessor theCollapse
Constructor Detail |
---|
public WhiteSpaceProcessor()
Method Detail |
---|
public abstract String process(String text)
public abstract String getName()
protected static WhiteSpaceProcessor get(String name) throws org.relaxng.datatype.DatatypeException
org.relaxng.datatype.DatatypeException
protected static final boolean isWhiteSpace(char ch)
protected Object readResolve() throws InvalidObjectException
InvalidObjectException
public static String replace(String str)
public static String collapse(String str)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |