public class CollapsedStringAdapter extends XmlAdapter<String,String>
XmlAdapter处理xs:token及其派生类型。 
       此适配器删除前导和尾随的空格,然后通过单个空格字符“'截断任何sequnce的选项卡,CR,LF和SP。
| Constructor and Description | 
|---|
| CollapsedStringAdapter() | 
public String unmarshal(String text)
unmarshal在 
            XmlAdapter<String,String> 
           text - 要转换的值。 
            可以为null。 
           public String marshal(String s)
marshal在 
            XmlAdapter<String,String> 
           s - 要兑现的价值。 
            可以为null。 
           protected static boolean isWhiteSpace(char ch)
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.