String appPStr=app.getExtendedAttributes().getExtendedAttributesString();
AppParameter param=new AppParameter("ExtendedAttributes","ExtendedAttributes",XPDLConstants.FORMAL_PARAMETER_MODE_IN,appPStr,String.class);
parameters.add(param);
ActualParameters aps=tool.getActualParameters();
FormalParameters fps=app.getApplicationTypes().getFormalParameters();
Map m=createContextMap(aps,fps);
Iterator itFps=fps.toElements().iterator();
Iterator itAps=aps.toElements().iterator();
while (itFps.hasNext() && itAps.hasNext()) {
FormalParameter fp=(FormalParameter)itFps.next();
ActualParameter ap=(ActualParameter)itAps.next();
String fpMode=fp.getMode();