Package com.sun.faces.flow
Class SwitchCaseImpl
java.lang.Object
jakarta.faces.flow.SwitchCase
com.sun.faces.flow.SwitchCaseImpl
- All Implemented Interfaces:
Serializable
public class SwitchCaseImpl extends SwitchCase implements Serializable
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description SwitchCaseImpl() -
Method Summary
Modifier and Type Method Description BooleangetCondition(FacesContext context)Returntrueif this case should be taken,falseotherwise.jakarta.el.ValueExpressiongetConditionExpression()StringgetEnclosingId()StringgetFromOutcome()Return the outcome to be used ifSwitchCase.getCondition(jakarta.faces.context.FacesContext)returntrue.voidsetCondition(String condition)voidsetConditionExpression(jakarta.el.ValueExpression conditionExpression)voidsetEnclosingId(String returnId)voidsetFromOutcome(String fromOutcome)
-
Constructor Details
-
SwitchCaseImpl
public SwitchCaseImpl()
-
-
Method Details
-
getConditionExpression
public jakarta.el.ValueExpression getConditionExpression() -
getCondition
Description copied from class:SwitchCaseReturn
trueif this case should be taken,falseotherwise.- Specified by:
getConditionin classSwitchCase- Parameters:
context- theFacesContextfor the current request.- Returns:
- a value indicating whether or not this condition should be taken
-
setCondition
-
setConditionExpression
public void setConditionExpression(jakarta.el.ValueExpression conditionExpression) -
getFromOutcome
Description copied from class:SwitchCaseReturn the outcome to be used if
SwitchCase.getCondition(jakarta.faces.context.FacesContext)returntrue.- Specified by:
getFromOutcomein classSwitchCase- Returns:
- the outcome
-
setFromOutcome
-
getEnclosingId
-
setEnclosingId
-