newLine(out);
serialize(activity.getImplementation(), out, nsPrefix, ident_unit + 1);
serializeTransitionRestrictions(activity, out, nsPrefix, ident_unit + 1);
ActivityType act_type=activity.getActivityType();
if(act_type != null)
{
activity.addExtendedAttribute(new ExtendedAttribute(XPDLGlobals.ACTIVITY_TYPE,act_type.getType()));
}
PerformerType pf_type=activity.getPerformerType();
if(pf_type!=null)
{