|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjavax.xml.bind.annotation.adapters.XmlAdapter<String,String>
javax.xml.bind.annotation.adapters.CollapsedStringAdapter
public class CollapsedStringAdapter
xs:token とその派生型を処理する組み込み XmlAdapter です。
このアダプタは、先頭と末尾の空白を削除した後、タブ、CR、LF、SP のシーケンスを 1 つの空白文字「 」に切り詰めます。
| コンストラクタの概要 | |
|---|---|
CollapsedStringAdapter()
|
|
| メソッドの概要 | |
|---|---|
protected static boolean |
isWhiteSpace(char ch)
指定された文字が空白文字である場合、true を返します。 |
String |
marshal(String s)
何もしません。 |
String |
unmarshal(String text)
パラメータとして与えられた文字列の先頭と末尾の空白を削除した後、タブ、CR、LF、SP のシーケンスを 1 つの空白文字「 」に切り詰めます。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public CollapsedStringAdapter()
| メソッドの詳細 |
|---|
public String unmarshal(String text)
XmlAdapter<String,String> 内の unmarshaltext - 変換する値。null も可public String marshal(String s)
XmlAdapter<String,String> 内の marshals - 変換する値。null も可protected static boolean isWhiteSpace(char ch)
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2009 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。