|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectwoolpack.el.convert.FormatConverter
public class FormatConverter
Format.format(java.lang.Object)
を使用して
変換するConvertable
。
適用しているパターン:Adapter。
コンストラクタの概要 | |
---|---|
FormatConverter(java.text.Format format)
コンストラクタ。 |
|
FormatConverter(FormatFactory factory)
コンストラクタ。 |
メソッドの概要 | |
---|---|
java.lang.Object |
convert(java.lang.Object beforeValue,
java.lang.Class toType,
java.lang.String propertyName)
変換する。 |
FormatFactory |
getFactory()
|
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public FormatConverter(FormatFactory factory)
factory
- フォーマットのファクトリ。
java.lang.NullPointerException
- 引数が null の場合。public FormatConverter(java.text.Format format)
Format.clone()
で複製して利用する。
format
- フォーマット。
java.lang.NullPointerException
- 引数が null の場合。メソッドの詳細 |
---|
public java.lang.Object convert(java.lang.Object beforeValue, java.lang.Class toType, java.lang.String propertyName)
Convertable
の記述:
Convertable
内の convert
beforeValue
- 変換前のオブジェクト。toType
- 変換先の型。実装ではこのパラメータが動作に反映されない可能性がある。propertyName
- 変換元のプロパティ名。
public FormatFactory getFactory()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |