Class XmlWhitespace


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

      Constructors 
      Constructor Description
      XmlWhitespace()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String collapse​(java.lang.String v)  
      static java.lang.String collapse​(java.lang.String v, int wsr)
      The algorithm used by apply_wscanon: sometimes used in impls.
      static boolean isAllSpace​(java.lang.CharSequence v)  
      static boolean isAllSpace​(java.lang.String v)  
      static boolean isSpace​(char ch)  
      • Methods inherited from class java.lang.Object

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

      • XmlWhitespace

        public XmlWhitespace()
    • Method Detail

      • isSpace

        public static boolean isSpace​(char ch)
      • isAllSpace

        public static boolean isAllSpace​(java.lang.String v)
      • isAllSpace

        public static boolean isAllSpace​(java.lang.CharSequence v)
      • collapse

        public static java.lang.String collapse​(java.lang.String v)
      • collapse

        public static java.lang.String collapse​(java.lang.String v,
                                                int wsr)
        The algorithm used by apply_wscanon: sometimes used in impls.