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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
getCondition(FacesContext context)
Returntrue
if this case should be taken,false
otherwise.jakarta.el.ValueExpression
getConditionExpression()
String
getEnclosingId()
String
getFromOutcome()
Return the outcome to be used ifSwitchCase.getCondition(jakarta.faces.context.FacesContext)
returntrue
.void
setCondition(String condition)
void
setConditionExpression(jakarta.el.ValueExpression conditionExpression)
void
setEnclosingId(String returnId)
void
setFromOutcome(String fromOutcome)
-
-
-
Method Detail
-
getConditionExpression
public jakarta.el.ValueExpression getConditionExpression()
-
getCondition
public Boolean getCondition(FacesContext context)
Description copied from class:SwitchCase
Return
true
if this case should be taken,false
otherwise.- Specified by:
getCondition
in classSwitchCase
- Parameters:
context
- theFacesContext
for the current request.- Returns:
- a value indicating whether or not this condition should be taken
-
setCondition
public void setCondition(String condition)
-
setConditionExpression
public void setConditionExpression(jakarta.el.ValueExpression conditionExpression)
-
getFromOutcome
public String getFromOutcome()
Description copied from class:SwitchCase
Return the outcome to be used if
SwitchCase.getCondition(jakarta.faces.context.FacesContext)
returntrue
.- Specified by:
getFromOutcome
in classSwitchCase
- Returns:
- the outcome
-
setFromOutcome
public void setFromOutcome(String fromOutcome)
-
getEnclosingId
public String getEnclosingId()
-
setEnclosingId
public void setEnclosingId(String returnId)
-
-