}
}
for (NavigationCase navCase : flowSwitch.getNavigationCaseList())
{
SwitchCaseImpl nodeCase = new SwitchCaseImpl();
nodeCase.setFromOutcome(navCase.getFromOutcome());
if (!isEmptyString(navCase.getIf()))
{
nodeCase.setCondition(
application.getExpressionFactory().createValueExpression(
facesContext.getELContext(), navCase.getIf(),
Object.class));
}
node.addCase(nodeCase);