*/
public class LoopActivityAdapter implements Adapter{
public Object convert(Object src, java.util.Hashtable keyedContext) throws Exception{
LoopActivity srcAct = (LoopActivity)src;
tWhile destAct = new tWhile();
destAct.setname_Attribute(new XNCName(srcAct.getName().getText().replace(' ', '_')));
//review:
tBoolean_expr booleanExp = new tBoolean_expr();
booleanExp.set("boolean exp");
destAct.setcondition_Attribute(booleanExp);
tSequence sequence_ = new tSequence();
Vector childActivities = srcAct.getChildActivities();
for(Enumeration enumeration = childActivities.elements(); enumeration.hasMoreElements();){
Object item = (Object)enumeration.nextElement();
Adapter adpt = ProcessDefinitionAdapter.getAdapter(item.getClass());
if(adpt==null){
continue;