Woolpack API

woolpack.el
クラス MaybePropertyELFactory

java.lang.Object
  上位を拡張 woolpack.el.MaybePropertyELFactory
すべての実装されたインタフェース:
PropertyELFactory

public class MaybePropertyELFactory
extends java.lang.Object
implements PropertyELFactory

初期設定により PropertyNotFoundExceptionが発生した際の挙動を切り替える プロパティ式言語ファクトリです。

作成者:
nakamura

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

コンストラクタの詳細

MaybePropertyELFactory

public MaybePropertyELFactory(boolean notFoundIgnoreFlag,
                              PropertyELFactory factory)
パラメータ:
notFoundIgnoreFlag - メンバが存在しない場合に何もしない場合はtrue。
factory -
メソッドの詳細

newGetter

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

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

newSetter

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

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

getFactory

public PropertyELFactory getFactory()

setFactory

public void setFactory(PropertyELFactory factory)

isNotFoundIgnoreFlag

public boolean isNotFoundIgnoreFlag()

setNotFoundIgnoreFlag

public void setNotFoundIgnoreFlag(boolean notFoundIgnoreFlag)

Woolpack API

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