|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.exolab.adaptx.xml.Whitespace
A class for handling XML Whitespace
| Field Summary | |
|---|---|
static char |
CR
Carriage Return character Changed to '\r' instead of ' ' to make compatible with MS J++ Mohan Embar |
static java.lang.String |
EMPTY
Empty String |
static char |
LF
Linefeed character |
static char |
NULL
Null character |
static char |
SPACE
Single space character |
static char |
TAB
Tab character |
| Constructor Summary | |
|---|---|
Whitespace()
|
|
| Method Summary | |
|---|---|
static int |
stripSpace(char[] data,
boolean stripAllLeadSpace,
boolean stripAllTrailSpace)
Strips whitespace from the given String. |
static java.lang.String |
stripSpace(java.lang.String data)
Strips whitespace from the given String. |
static java.lang.String |
stripSpace(java.lang.String data,
boolean stripAllLeadSpace,
boolean stripAllTrailSpace)
Strips whitespace from the given String. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final char NULL
public static final char SPACE
public static final char TAB
public static final char CR
public static final char LF
public static final java.lang.String EMPTY
| Constructor Detail |
public Whitespace()
| Method Detail |
public static java.lang.String stripSpace(java.lang.String data)
data - the String to strip whitespace from
public static java.lang.String stripSpace(java.lang.String data,
boolean stripAllLeadSpace,
boolean stripAllTrailSpace)
data - the String to strip whitespace from
public static int stripSpace(char[] data,
boolean stripAllLeadSpace,
boolean stripAllTrailSpace)
data - the chars to strip whitespace from
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||