woolpack.html
クラス AutoUpdater
java.lang.Object
woolpack.xml.AbstractNodeSeeker<NodeContext>
woolpack.html.AutoUpdater
- すべての実装されたインタフェース:
- java.lang.Cloneable, Fn<NodeContext,java.lang.Void>
public class AutoUpdater
- extends AbstractNodeSeeker<NodeContext>
- implements java.lang.Cloneable
DOM エレメントの属性値をプロパティ名としてコンポーネントから値を取得し、
DOM ノードに自動設定するFn
です。
業務系プログラムで作成したデータ構造を
HTMLのDOM表現に流し込む本機構により
プログラマとデザイナの結合を疎に保ちます。
- 作成者:
- nakamura
コンストラクタの概要 |
|
AutoUpdater(java.lang.Iterable<java.lang.String> attrNames,
GettingEL componentEL,
GettingEL configEL)
値取得に失敗した場合は何もしません。 |
|
AutoUpdater(java.lang.Iterable<java.lang.String> attrNames,
GettingEL componentEL,
GettingEL configEL,
java.util.Collection<java.lang.Class<?>> atomCollection,
GettingEL errorEL)
|
protected |
AutoUpdater(java.lang.Iterable<java.lang.String> attrNames,
GettingEL componentEL,
GettingEL configEL,
java.util.Collection<java.lang.Class<?>> atomCollection,
GettingEL errorEL,
boolean selectMode)
|
クラス java.lang.Object から継承されたメソッド |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AutoUpdater
protected AutoUpdater(java.lang.Iterable<java.lang.String> attrNames,
GettingEL componentEL,
GettingEL configEL,
java.util.Collection<java.lang.Class<?>> atomCollection,
GettingEL errorEL,
boolean selectMode)
AutoUpdater
public AutoUpdater(java.lang.Iterable<java.lang.String> attrNames,
GettingEL componentEL,
GettingEL configEL,
java.util.Collection<java.lang.Class<?>> atomCollection,
GettingEL errorEL)
- パラメータ:
attrNames
- 属性名の一覧。componentEL
- コンポーネントへの参照。configEL
- 設定値への参照。atomCollection
- 値の個数に関して原子的であるクラスの一覧。errorEL
- 値取得に失敗した場合の値の取得先。
AutoUpdater
public AutoUpdater(java.lang.Iterable<java.lang.String> attrNames,
GettingEL componentEL,
GettingEL configEL)
- 値取得に失敗した場合は何もしません。
- パラメータ:
attrNames
- 属性名の一覧。componentEL
- コンポーネントへの参照。configEL
- 設定値への参照。
exec
public java.lang.Void exec(NodeContext c)
- インタフェース
Fn
の記述:
- 関数を実行します。
- 定義:
- インタフェース
Fn<NodeContext,java.lang.Void>
内の exec
- オーバーライド:
- クラス
AbstractNodeSeeker<NodeContext>
内の exec
- パラメータ:
c
- コンテキスト役。
- 戻り値:
- 返却値。
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- オーバーライド:
- クラス
java.lang.Object
内の clone
- 例外:
java.lang.CloneNotSupportedException
getAttrNames
public java.lang.Iterable<java.lang.String> getAttrNames()
setAttrNames
public void setAttrNames(java.lang.Iterable<java.lang.String> attrNames)
getComponentEL
public GettingEL getComponentEL()
setComponentEL
public void setComponentEL(GettingEL componentEL)
getErrorEL
public GettingEL getErrorEL()
setErrorEL
public void setErrorEL(GettingEL errorEL)
getConfigEL
public GettingEL getConfigEL()
setConfigEL
public void setConfigEL(GettingEL configEL)
getAtomCollection
public java.util.Collection<java.lang.Class<?>> getAtomCollection()
setAtomCollection
public void setAtomCollection(java.util.Collection<java.lang.Class<?>> atomCollection)
Copyright (C) 2006-2007 Takahiro Nakamura. All rights reserved.