Class NormalizedStringAdapter

    • Constructor Detail

      • NormalizedStringAdapter

        public NormalizedStringAdapter()
    • Method Detail

      • marshal

        public String marshal​(String s)
        No-op. Just return the same string given as the parameter.
        Specified by:
        marshal in class XmlAdapter<String,​String>
        s - The value to be convereted. Can be null.
      • isWhiteSpaceExceptSpace

        protected static boolean isWhiteSpaceExceptSpace​(char ch)
        Returns true if the specified char is a white space character but not 0x20.