public abstract class WhiteSpaceProcessor extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static WhiteSpaceProcessor |
theCollapse |
static WhiteSpaceProcessor |
thePreserve |
static WhiteSpaceProcessor |
theReplace |
Constructor and Description |
---|
WhiteSpaceProcessor() |
Modifier and Type | Method and Description |
---|---|
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) |
public static final WhiteSpaceProcessor thePreserve
public static final WhiteSpaceProcessor theReplace
public static final WhiteSpaceProcessor theCollapse
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
Copyright © 2016 Oracle Corporation. All rights reserved.