Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
gnu.xml.TextUtils
public class TextUtils
extends java.lang.Object
Method Summary | |
static String |
|
static String |
|
static String |
|
static void |
|
static void |
public static String asString(Object node)
public static String replaceWhitespace(String str, boolean collapse)
Create a normalized string.
- Returns:
- the original string if it was normalized; otherwise a fresh one. (XStringType.matcyhes assumes the above.)
public static String stringValue(Object node)
public static void stringValue(Object node, StringBuffer sbuf)