JavaScript is disabled on your browser.
Skip navigation links
gnu.xml

Class TextUtils



  • public class TextUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors
      Constructor and Description
      TextUtils ()
    • Method Summary

      All Methods
      Modifier and Type Method and Description
      static java.lang.String asString (java.lang.Object node)
      static java.lang.String replaceWhitespace (java.lang.String str, boolean collapse)
      Create a normalized string.
      static java.lang.String stringValue (java.lang.Object node)
      static void stringValue (java.lang.Object node, java.lang.StringBuffer sbuf)
      static void textValue (java.lang.Object arg, Consumer out)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TextUtils

        public TextUtils()
    • Method Detail

      • asString

        public static java.lang.String asString(java.lang.Object node)
      • stringValue

        public static java.lang.String stringValue(java.lang.Object node)
      • stringValue

        public static void stringValue(java.lang.Object node,
         java.lang.StringBuffer sbuf)
      • textValue

        public static void textValue(java.lang.Object arg,
         Consumer out)
      • replaceWhitespace

        public static java.lang.String replaceWhitespace(java.lang.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.)
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /