XmlAdapter to handle xs:normalizedString.
Replaces any tab, CR, and LF by a whitespace character ' ', as specified in the whitespace facet 'replace'
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected static boolean | isWhiteSpaceExceptSpace(char ch)
Returns true if the specified char is a white space character but not 0x20. |
| public String | marshal(String
The value to be convereted. Can be null. s)Implements abstract javax. |
| public String | unmarshal(String
The value to be converted. Can be null. text)Implements abstract javax. |
| NormalizedStringAdapter | back to summary |
|---|---|
| public NormalizedStringAdapter() | |
| isWhiteSpaceExceptSpace | back to summary |
|---|---|
| protected static boolean isWhiteSpaceExceptSpace(char ch) Returns true if the specified char is a white space character but not 0x20. | |
| marshal | back to summary |
|---|---|
| public String marshal(String s) Implements abstract javax. No-op. Just return the same string given as the parameter.
| |
| unmarshal | back to summary |
|---|---|
| public String unmarshal(String text) Implements abstract javax. Replace any tab, CR, and LF by a whitespace character ' ', as specified in the whitespace facet 'replace'
| |