public class XmlWhitespace extends Object
Modifier and Type | Field and Description |
---|---|
static int |
WS_COLLAPSE |
static int |
WS_PRESERVE |
static int |
WS_REPLACE |
static int |
WS_UNSPECIFIED |
Constructor and Description |
---|
XmlWhitespace() |
Modifier and Type | Method and Description |
---|---|
static String |
collapse(String v) |
static String |
collapse(String v,
int wsr)
The algorithm used by apply_wscanon: sometimes used in impls.
|
static boolean |
isAllSpace(CharSequence v) |
static boolean |
isAllSpace(String v) |
static boolean |
isSpace(char ch) |
public static final int WS_UNSPECIFIED
public static final int WS_PRESERVE
public static final int WS_REPLACE
public static final int WS_COLLAPSE
public static boolean isSpace(char ch)
public static boolean isAllSpace(String v)
public static boolean isAllSpace(CharSequence v)