Package com.sun.faces.flow
Class SwitchNodeImpl
- java.lang.Object
-
- jakarta.faces.flow.FlowNode
-
- jakarta.faces.flow.SwitchNode
-
- com.sun.faces.flow.SwitchNodeImpl
-
- All Implemented Interfaces:
Serializable
public class SwitchNodeImpl extends SwitchNode implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SwitchNodeImpl(String id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<SwitchCase>_getCases()booleanequals(Object obj)List<SwitchCase>getCases()Return the cases in this switch.StringgetDefaultOutcome(FacesContext context)Return the default outcome in this switch.StringgetId()inthashCode()voidsetDefaultOutcome(jakarta.el.ValueExpression defaultOutcome)voidsetDefaultOutcome(String defaultOutcome)
-
-
-
Constructor Detail
-
SwitchNodeImpl
public SwitchNodeImpl(String id)
-
-
Method Detail
-
getCases
public List<SwitchCase> getCases()
Description copied from class:SwitchNodeReturn the cases in this switch.
- Specified by:
getCasesin classSwitchNode- Returns:
- the cases in this switch
-
_getCases
public List<SwitchCase> _getCases()
-
getDefaultOutcome
public String getDefaultOutcome(FacesContext context)
Description copied from class:SwitchNodeReturn the default outcome in this switch.
- Specified by:
getDefaultOutcomein classSwitchNode- Parameters:
context- theFacesContextfor this request- Returns:
- the default outcome in this switch
-
setDefaultOutcome
public void setDefaultOutcome(String defaultOutcome)
-
setDefaultOutcome
public void setDefaultOutcome(jakarta.el.ValueExpression defaultOutcome)
-
-