Woolpack API

woolpack.el
クラス ELUtils

java.lang.Object
  上位を拡張 woolpack.el.ELUtils

public final class ELUtils
extends java.lang.Object

式言語のユーティリティです。

作成者:
nakamura

フィールドの概要
static Fn<java.lang.String,EL,java.lang.RuntimeException> EL_FACTORY
          プロパティ名にアクセスする式言語を生成する関数です。
static EL NULL
          ヌルオブジェクト役の式言語です。
static PropertyELFactory PROPERTY_EL_FACTORY
          プロパティ式言語ファクトリのデフォルト値です。
static EL THIS
          引数自身を表すプロパティ式言語のデフォルト値です。
 
メソッドの概要
static PropertyELFactory getPropertyELFactory(boolean notFoundIgnoreFlag)
          プロパティ式言語ファクトリを生成します。
static PropertyELFactory getPropertyELFactory(Fn<ConvertContext,java.lang.Void,? extends java.lang.RuntimeException> fn, Fn<java.lang.String,java.lang.Iterable<java.lang.String>,? extends java.lang.RuntimeException> guessFactory, boolean notFoundIgnoreFlag)
          プロパティ式言語ファクトリを生成します。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

NULL

public static final EL NULL
ヌルオブジェクト役の式言語です。
適用しているデザインパターン:Null Object。


THIS

public static final EL THIS
引数自身を表すプロパティ式言語のデフォルト値です。


PROPERTY_EL_FACTORY

public static final PropertyELFactory PROPERTY_EL_FACTORY
プロパティ式言語ファクトリのデフォルト値です。


EL_FACTORY

public static final Fn<java.lang.String,EL,java.lang.RuntimeException> EL_FACTORY
プロパティ名にアクセスする式言語を生成する関数です。
適用しているデザインパターン:ELのAbstract Factory。

メソッドの詳細

getPropertyELFactory

public static PropertyELFactory getPropertyELFactory(Fn<ConvertContext,java.lang.Void,? extends java.lang.RuntimeException> fn,
                                                     Fn<java.lang.String,java.lang.Iterable<java.lang.String>,? extends java.lang.RuntimeException> guessFactory,
                                                     boolean notFoundIgnoreFlag)
プロパティ式言語ファクトリを生成します。
適用しているデザインパターン:PropertyELFactoryのComposite。

パラメータ:
fn - 型を変換する関数。
guessFactory - プロパティ名候補のファクトリ。
notFoundIgnoreFlag - メンバが存在しない場合に何もしない場合はtrue。
戻り値:
プロパティ式言語ファクトリ。

getPropertyELFactory

public static PropertyELFactory getPropertyELFactory(boolean notFoundIgnoreFlag)
プロパティ式言語ファクトリを生成します。
適用しているデザインパターン:PropertyELFactoryのComposite。

パラメータ:
notFoundIgnoreFlag - メンバが存在しない場合に何もしない場合はtrue。
戻り値:
プロパティ式言語ファクトリ。

Woolpack API

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