|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectjp.go.nict.langrid.commons.beanutils.BeanUtilsTransformer<T,U>
T - 変換元クラスU - 変換先クラスpublic class BeanUtilsTransformer<T,U>
BeanUtilsを使ったTransformer。
| コンストラクタの概要 | |
|---|---|
BeanUtilsTransformer(Constructor<U> destDefCtor,
org.apache.commons.beanutils.BeanUtilsBean beanUtils)
コンストラクタ。 |
|
BeanUtilsTransformer(Constructor<U> destDefCtor,
org.apache.commons.beanutils.BeanUtilsBean beanUtils,
Map<String,String> propertyAliases)
コンストラクタ。 |
|
| メソッドの概要 | |
|---|---|
U |
transform(T value)
オブジェクトを変換する。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public BeanUtilsTransformer(Constructor<U> destDefCtor,
org.apache.commons.beanutils.BeanUtilsBean beanUtils)
throws IllegalArgumentException
destDefCtor - 変換先クラスのデフォルトコンストラクタbeanUtils - BeanUtils
IllegalArgumentException - destClassにデフォルトコンストラクタが存在しない
public BeanUtilsTransformer(Constructor<U> destDefCtor,
org.apache.commons.beanutils.BeanUtilsBean beanUtils,
Map<String,String> propertyAliases)
throws IllegalArgumentException
destDefCtor - 変換先クラスのデフォルトコンストラクタbeanUtils - BeanUtilspropertyAliases - プロパティ名のエイリアス
IllegalArgumentException - destClassにデフォルトコンストラクタが存在しない| メソッドの詳細 |
|---|
public U transform(T value)
throws TransformationException
Transformer の記述:
Transformer<T,U> 内の transformvalue - 変換されるオブジェクト
TransformationException - 変換に失敗した
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||