if (repInfo.mAttendee.hasPartStat()) { curElt.addAttribute(MailService.A_APPT_PARTSTAT, repInfo.mAttendee.getPartStat());
if (attendee.hasPartStat()) { curElt.addAttribute(MailService.A_APPT_PARTSTAT, attendee.getPartStat());
    private static void encodeReplies(Element parent, Appointment appt, Invite inv) {        Element repliesElt = parent.addElement(MailService.E_APPT_REPLIES);        List /*Appointment.ReplyInfo */ replies = appt.getReplyInfo(inv);        for (Iterator iter = replies.iterator(); iter.hasNext(); ) {            Appointment.ReplyInfo repInfo = (Appointment.ReplyInfo) iter.next();            Element curElt = repliesElt.addElement(MailService.E_APPT_REPLY);            if (repInfo.mRecurId != null) {                repInfo.mRecurId.toXml(curElt);            }            if (repInfo.mAttendee.hasPartStat()) {                curElt.addAttribute(MailService.A_APPT_PARTSTAT, repInfo.mAttendee.getPartStat());            }            curElt.addAttribute(MailService.A_DATE, repInfo.mDtStamp);            curElt.addAttribute(MailService.A_APPT_ATTENDEE, repInfo.mAttendee.getAddress());        }    }