Package org.apache.myfaces.flow
Class SwitchNodeImpl
- java.lang.Object
-
- javax.faces.flow.FlowNode
-
- javax.faces.flow.SwitchNode
-
- org.apache.myfaces.flow.SwitchNodeImpl
-
- All Implemented Interfaces:
Freezable
public class SwitchNodeImpl extends SwitchNode implements Freezable
- Since:
- 2.2
- Author:
- Leonardo Uribe
-
-
Constructor Summary
Constructors Constructor Description SwitchNodeImpl(String switchNodeId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCase(SwitchCase switchCase)voidfreeze()Call this method when the object will be made available to the runtimeList<SwitchCase>getCases()StringgetDefaultOutcome(FacesContext context)StringgetId()voidsetDefaultOutcome(String defaultOutcome)voidsetDefaultOutcome(javax.el.ValueExpression defaultOutcome)voidsetId(String id)
-
-
-
Constructor Detail
-
SwitchNodeImpl
public SwitchNodeImpl(String switchNodeId)
-
-
Method Detail
-
getCases
public List<SwitchCase> getCases()
- Specified by:
getCasesin classSwitchNode
-
addCase
public void addCase(SwitchCase switchCase)
-
getDefaultOutcome
public String getDefaultOutcome(FacesContext context)
- Specified by:
getDefaultOutcomein classSwitchNode
-
freeze
public void freeze()
Description copied from interface:FreezableCall this method when the object will be made available to the runtime
-
setDefaultOutcome
public void setDefaultOutcome(String defaultOutcome)
-
setDefaultOutcome
public void setDefaultOutcome(javax.el.ValueExpression defaultOutcome)
-
setId
public void setId(String id)
-
-