java.lang.Object
jakarta.faces.flow.FlowNode
jakarta.faces.flow.SwitchNode
- Direct Known Subclasses:
- SwitchNodeImpl
 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(jakarta.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(jakarta.faces.context.FacesContext) be used to determine where to go
 next in the flow graph.
 
- Since:
- 2.2
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabstract List<SwitchCase> getCases()Return the cases in this switch.abstract StringgetDefaultOutcome(FacesContext context) Return the default outcome in this switch.
- 
Constructor Details- 
SwitchNodepublic SwitchNode()
 
- 
- 
Method Details- 
getCasesReturn the cases in this switch. - Returns:
- the cases in this switch
- Since:
- 2.2
 
- 
getDefaultOutcomeReturn the default outcome in this switch. - Parameters:
- context- the- FacesContextfor this request
- Returns:
- the default outcome in this switch
- Since:
- 2.2
 
 
-