Package gnu.xml
Class TextUtils
java.lang.Object
gnu.xml.TextUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstatic StringreplaceWhitespace(String str, boolean collapse) Create a normalized string.static StringstringValue(Object node) static voidstringValue(Object node, StringBuffer sbuf) static void
-
Constructor Details
-
TextUtils
public TextUtils()
-
-
Method Details
-
asString
-
stringValue
-
stringValue
-
textValue
-
replaceWhitespace
Create a normalized string.- Returns:
- the original string if it was normalized; otherwise a fresh one. (XStringType.matcyhes assumes the above.)
-