}
for (FacesFlowParameter parameter : call.getOutboundParameterList())
{
node.putOutboundParameter( parameter.getName(),
new ParameterImpl(parameter.getName(),
application.getExpressionFactory().createValueExpression(
facesContext.getELContext(), parameter.getValue(), Object.class)) );
}
flow.putFlowCall(node.getId(), node);
}
for (FacesFlowMethodCall methodCall : flowDefinition.getMethodCallList())
{
MethodCallNodeImpl node = new MethodCallNodeImpl(methodCall.getId());
if (!isEmptyString(methodCall.getMethod()))
{
node.setMethodExpression(
application.getExpressionFactory().createMethodExpression(
facesContext.getELContext(), methodCall.getMethod(), null, NO_PARAMETER_TYPES));
}
if (!isEmptyString(methodCall.getDefaultOutcome()))
{
node.setOutcome(
application.getExpressionFactory().createValueExpression(
facesContext.getELContext(), methodCall.getDefaultOutcome(), Object.class));
}
for (FacesFlowMethodParameter parameter : methodCall.getParameterList())
{
node.addParameter(
new ParameterImpl(parameter.getClassName(),
application.getExpressionFactory().createValueExpression(
facesContext.getELContext(), parameter.getValue(), Object.class)) );
}
flow.addMethodCall(node);
}
for (FacesFlowParameter parameter : flowDefinition.getInboundParameterList())
{
flow.putInboundParameter(parameter.getName(),
new ParameterImpl(parameter.getName(),
application.getExpressionFactory().createValueExpression(
facesContext.getELContext(), parameter.getValue(), Object.class)) );
}
for (NavigationRule rule : flowDefinition.getNavigationRuleList())