Woolpack API

woolpack.html
クラス BranchPropertyCounter<C extends NodeContext,E extends java.lang.Exception>

java.lang.Object
  上位を拡張 woolpack.html.AbstractCountProperty<C,E>
      上位を拡張 woolpack.html.BranchPropertyCounter<C,E>
すべての実装されたインタフェース:
Fn<C,java.lang.Void,E>

public class BranchPropertyCounter<C extends NodeContext,E extends java.lang.Exception>
extends AbstractCountProperty<C,E>


コンストラクタの概要
BranchPropertyCounter(EL el, java.lang.Iterable<java.lang.String> attrNames, Fn<? super C,java.lang.Void,? extends E> firstFn, Fn<? super C,java.lang.Void,? extends E> pluralFn)
           
 
メソッドの概要
 Fn<? super C,java.lang.Void,? extends E> getFirstFn()
           
 Fn<? super C,java.lang.Void,? extends E> getPluralFn()
           
 void interpret(C context, PropertyCounter counter)
          Fn.exec(Object)から呼び出されます(called)。
 void setFirstFn(Fn<? super C,java.lang.Void,? extends E> firstFn)
           
 void setPluralFn(Fn<? super C,java.lang.Void,? extends E> pluralFn)
           
 
クラス woolpack.html.AbstractCountProperty から継承されたメソッド
exec, getAttrNames, getEl, setAttrNames, setEl
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

BranchPropertyCounter

public BranchPropertyCounter(EL el,
                             java.lang.Iterable<java.lang.String> attrNames,
                             Fn<? super C,java.lang.Void,? extends E> firstFn,
                             Fn<? super C,java.lang.Void,? extends E> pluralFn)
メソッドの詳細

interpret

public void interpret(C context,
                      PropertyCounter counter)
               throws E extends java.lang.Exception
クラス AbstractCountProperty の記述:
Fn.exec(Object)から呼び出されます(called)。 実装クラスではPropertyCounterの状態により処理を行う必要があります。

定義:
クラス AbstractCountProperty<C extends NodeContext,E extends java.lang.Exception> 内の interpret
パラメータ:
context - コンテキスト。
counter - プロパティの出現回数をカウントするカウンタ。
例外:
E extends java.lang.Exception

getFirstFn

public Fn<? super C,java.lang.Void,? extends E> getFirstFn()

setFirstFn

public void setFirstFn(Fn<? super C,java.lang.Void,? extends E> firstFn)

getPluralFn

public Fn<? super C,java.lang.Void,? extends E> getPluralFn()

setPluralFn

public void setPluralFn(Fn<? super C,java.lang.Void,? extends E> pluralFn)

Woolpack API

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