com.sun.xml.bind
public abstract class WhiteSpaceProcessor extends Object
Since: 1.0
| Method Summary | |
|---|---|
| static String | collapse(String text) |
| static CharSequence | collapse(CharSequence text)
This is usually the biggest processing bottleneck.
|
| static boolean | isWhiteSpace(CharSequence s)
Returns true if the specified string is all whitespace. |
| static boolean | isWhiteSpace(char ch) returns true if the specified char is a white space character. |
| protected static boolean | isWhiteSpaceExceptSpace(char ch)
Returns true if the specified char is a white space character
but not 0x20. |
| static String | replace(String text) |
| static CharSequence | replace(CharSequence text) |
| static CharSequence | trim(CharSequence text)
Equivalent of String#trim(). |
Since: 2.0
Since: 2.0
Since: 2.0