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. 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
be used to determine where to go next in the flow graph.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract List | |
| public abstract String | Returns: the default outcome in this switchthe context)FacesContext for this requestReturn the default outcome in this switch. |
| SwitchNode | back to summary |
|---|---|
| public SwitchNode() | |
| getCases | back to summary |
|---|---|
| public abstract List Return the cases in this switch.
| |
| getDefaultOutcome | back to summary |
|---|---|
| public abstract String getDefaultOutcome(FacesContext context) Return the default outcome in this switch.
| |