|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.faces.flow.FlowNode
javax.faces.flow.SwitchNode
public abstract class SwitchNode
Represents a switch node in the flow graph.
When control passes to a switch node, for each of the SwitchCases
returned from getCases(), call SwitchCase.getCondition(javax.faces.context.FacesContext). If
the return is true, let the return from SwitchCase.getFromOutcome()
be used to determine where to go next in the flow graph and terminate the traversal.
If none of the cases returned true let getDefaultOutcome(javax.faces.context.FacesContext)
be used to determine where to go next in the flow graph.
| Constructor Summary | |
|---|---|
SwitchNode()
|
|
| Method Summary | |
|---|---|
abstract List<SwitchCase> |
getCases()
Return the cases in this switch. |
abstract String |
getDefaultOutcome(FacesContext context)
Return the default outcome in this switch. |
| Methods inherited from class javax.faces.flow.FlowNode |
|---|
getId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SwitchNode()
| Method Detail |
|---|
public abstract List<SwitchCase> getCases()
Return the cases in this switch.
public abstract String getDefaultOutcome(FacesContext context)
Return the default outcome in this switch.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||