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)
{
activity.addExtendedAttribute(new ExtendedAttribute(XPDLGlobals.PERFORMER_TYPE,pf_type.getType()));
}
String listenerClassName = activity.getListenerClassName();
if(listenerClassName!=null)
{
activity.addExtendedAttribute(new ExtendedAttribute(XPDLGlobals.LISTENER_QUALIFIED_CLASS_NAME,listenerClassName));
}
extendedAttriutes(activity, out, nsPrefix, ident_unit + 1);
pushIdent(out, ident_unit);