gnu.xml
public class TextUtils extends Object
| Method Summary | |
|---|---|
| static String | asString(Object node) |
| static String | replaceWhitespace(String str, boolean collapse) Create a normalized string. |
| static String | stringValue(Object node) |
| static void | stringValue(Object node, StringBuffer sbuf) |
| static void | textValue(Object arg, Consumer out) |
Returns: the original string if it was normalized; otherwise a fresh one. (XStringType.matcyhes assumes the above.)