public final class NormalizedStringAdapter extends XmlAdapter<String,String>
XmlAdapter
处理xs:normalizedString 。
替换任何标签,CR,和LF由一个空白字符“”,如在指定the whitespace facet 'replace'
Constructor and Description |
---|
NormalizedStringAdapter() |
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 isWhiteSpaceExceptSpace(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.