woolpack.el
クラス MapPropertyELFactory

java.lang.Object
  上位を拡張 woolpack.el.MapPropertyELFactory
すべての実装されたインタフェース:
PropertyELFactory
直系の既知のサブクラス:
MapSimilarPropertyELFactory

public class MapPropertyELFactory
extends Object
implements PropertyELFactory

Mapのみをサポートするプロパティ式言語ファクトリです。
適用しているデザインパターン:Chain of Responsibility。


コンストラクタの概要
MapPropertyELFactory(Fn<ConvertContext,Void,? extends RuntimeException> fn, PropertyELFactory factory)
           
 
メソッドの概要
 PropertyELFactory getFactory()
           
 Fn<ConvertContext,Void,? extends RuntimeException> getFn()
           
 GettingEL newGetter(Class clazz, String propertyName)
          対象クラスの対象プロパティ名の値を取得するための式言語を返します。
 EL newSetter(Class clazz, String propertyName)
          対象クラスの対象プロパティ名に値を設定するための式言語を返します。
 void setFactory(PropertyELFactory factory)
           
 void setFn(Fn<ConvertContext,Void,? extends RuntimeException> fn)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

MapPropertyELFactory

public MapPropertyELFactory(Fn<ConvertContext,Void,? extends RuntimeException> fn,
                            PropertyELFactory factory)
パラメータ:
fn - 型を変換する関数。
factory - 型がMapでない場合の委譲先。
メソッドの詳細

newGetter

public GettingEL newGetter(Class clazz,
                           String propertyName)
インタフェース PropertyELFactory の記述:
対象クラスの対象プロパティ名の値を取得するための式言語を返します。

定義:
インタフェース PropertyELFactory 内の newGetter
パラメータ:
clazz - 対象クラス。
propertyName - プロパティ名。
戻り値:
対象クラスのプロパティの値を取得する式言語。

newSetter

public EL newSetter(Class clazz,
                    String propertyName)
インタフェース PropertyELFactory の記述:
対象クラスの対象プロパティ名に値を設定するための式言語を返します。

定義:
インタフェース PropertyELFactory 内の newSetter
パラメータ:
clazz - 対象クラス。
propertyName - プロパティ名。
戻り値:
対象クラスのプロパティに値を設定する式言語。

getFn

public Fn<ConvertContext,Void,? extends RuntimeException> getFn()

setFn

public void setFn(Fn<ConvertContext,Void,? extends RuntimeException> fn)

getFactory

public PropertyELFactory getFactory()

setFactory

public void setFactory(PropertyELFactory factory)


Copyright (C) 2006-2007 Takahiro Nakamura. All rights reserved.