public abstract class SwitchNode extends FlowNode
フローグラフのスイッチノードを表します。制御がスイッチノードに渡されると、getCases() から返された SwitchCase ごとに、SwitchCase.getCondition(javax.faces.context.FacesContext) を呼び出します。リターンが true の場合、SwitchCase.getFromOutcome() からのリターンを使用して、フローグラフの次に進む場所を決定し、トラバーサルを終了します。いずれのケースも true を返さなかった場合は、getDefaultOutcome(javax.faces.context.FacesContext) を使用して、フローグラフの次に進む場所を決定します。
| コンストラクターと説明 |
|---|
SwitchNode() |
| 修飾子と型 | メソッドと説明 |
|---|---|
abstract ListSE<SwitchCase> | getCases()このスイッチでケースを返します。 |
abstract StringSE | getDefaultOutcome(FacesContext context)このスイッチでデフォルトの結果を返します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic abstract ListSE<SwitchCase> getCases()
このスイッチでケースを返します。
public abstract StringSE getDefaultOutcome(FacesContext context)
このスイッチでデフォルトの結果を返します。
context - このリクエストの FacesContextCopyright © 2019 Eclipse Foundation.
Use is subject to license terms.