woolpack.validator
クラス NameBranch<E extends Exception>

java.lang.Object
  上位を拡張 woolpack.validator.NameBranch<E>
すべての実装されたインタフェース:
Fn<ValidatorContext,Boolean,E>

public class NameBranch<E extends Exception>
extends Object
implements Fn<ValidatorContext,Boolean,E>


コンストラクタの概要
NameBranch(Fn<Object,? extends BooleanState,? extends RuntimeException> operator, Map<String,? extends Fn<? super ValidatorContext,Boolean,? extends E>> map)
           
 
メソッドの概要
 Boolean exec(ValidatorContext context)
          関数を実行します。
protected  Collection<String> keySet(ValidatorContext context)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

NameBranch

public NameBranch(Fn<Object,? extends BooleanState,? extends RuntimeException> operator,
                  Map<String,? extends Fn<? super ValidatorContext,Boolean,? extends E>> map)
メソッドの詳細

keySet

protected Collection<String> keySet(ValidatorContext context)

exec

public Boolean exec(ValidatorContext context)
             throws E extends Exception
インタフェース Fn の記述:
関数を実行します。

定義:
インタフェース Fn<ValidatorContext,Boolean,E extends Exception> 内の exec
パラメータ:
context - コンテキスト役。
戻り値:
返却値。
例外:
E - 例外。
E extends Exception


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