public class CollapsedStringAdapter extends XmlAdapter<StringSE,StringSE>
xs:token
とその派生型を処理するための組み込み XmlAdapter
。このアダプターは、先頭と末尾の空白を削除してから、タブ、CR、LF、SP の任意のシーケンスを単一の空白文字 '' で切り捨てます。
コンストラクターと説明 |
---|
CollapsedStringAdapter() |
修飾子と型 | メソッドと説明 |
---|---|
protected static boolean | isWhiteSpace(char ch) 指定された文字が空白文字の場合は true を返します。 |
StringSE | marshal(StringSE s) ノーオペレーション。 |
StringSE | unmarshal(StringSE text) パラメーターとして指定された文字列の先頭と末尾の空白を削除してから、タブ、CR、LF、SP の任意のシーケンスを単一の空白文字 '' で切り捨てます。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public StringSE unmarshal(StringSE text)
XmlAdapter<StringSE, StringSE>
の unmarshal
text
- 変換される値。null にすることができます。public StringSE marshal(StringSE s)
XmlAdapter<StringSE, StringSE>
の marshal
s
- 収束する値。null にすることができます。protected static boolean isWhiteSpace(char ch)
Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.