woolpack.el
クラス SimilarPropertyELFactory
java.lang.Object
woolpack.el.SimilarPropertyELFactory
- すべての実装されたインタフェース:
- PropertyELFactory
public class SimilarPropertyELFactory
- extends java.lang.Object
- implements PropertyELFactory
元のプロパティ名から類推したプロパティ名の候補を試行するプロパティ式言語ファクトリです。
適用しているデザインパターン:Iteratorを使用してプロパティ名の候補を順に取得する。
- 作成者:
- nakamura
| クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimilarPropertyELFactory
public SimilarPropertyELFactory(PropertyELFactory factory,
Fn<java.lang.String,java.lang.Iterable<java.lang.String>,? extends java.lang.RuntimeException> guessFactory)
- パラメータ:
factory - 委譲先。guessFactory - 属性名に対応するプロパティ名の候補を列挙するIterableのファクトリ。
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)
getGuessFactory
public Fn<java.lang.String,java.lang.Iterable<java.lang.String>,? extends java.lang.RuntimeException> getGuessFactory()
setGuessFactory
public void setGuessFactory(Fn<java.lang.String,java.lang.Iterable<java.lang.String>,? extends java.lang.RuntimeException> guessFactory)
Copyright (C) 2006-2007 Takahiro Nakamura. All rights reserved.