Package javax.faces.flow
Class SwitchCase
- java.lang.Object
-
- javax.faces.flow.SwitchCase
-
public abstract class SwitchCase extends java.lang.ObjectRepresents a case within a switch node in the flow graph. See
SwitchNode.- Since:
- 2.2
-
-
Constructor Summary
Constructors Constructor Description SwitchCase()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract java.lang.BooleangetCondition(FacesContext context)Returntrueif this case should be taken,falseotherwise.abstract java.lang.StringgetFromOutcome()Return the outcome to be used ifgetCondition(javax.faces.context.FacesContext)returntrue.
-
-
-
Method Detail
-
getFromOutcome
public abstract java.lang.String getFromOutcome()
Return the outcome to be used if
getCondition(javax.faces.context.FacesContext)returntrue.- Since:
- 2.2
-
getCondition
public abstract java.lang.Boolean getCondition(FacesContext context)
Return
trueif this case should be taken,falseotherwise.- Since:
- 2.2
-
-