public override void buildXml(System.Xml.XmlWriter xmlWriter) { xmlWriter.WriteStartElement("excel_couponSchedule"); xmlWriter.WriteElementString("excel_type", "excel_condi_structuredAccrualCouponSchedule"); xmlWriter.WriteStartElement("excel_condi_structuredAccrualCouponSchedule"); xmlWriter.WriteElementString("eventDate", StringConverter.xmlDateTimeToDateString(this.eventDate_)); xmlWriter.WriteElementString("payoffDate", StringConverter.xmlDateTimeToDateString(this.payoffDate_)); xmlWriter.WriteElementString("calculationStartDate", StringConverter.xmlDateTimeToDateString(this.calculationStartDate_)); xmlWriter.WriteElementString("calculationEndDate", StringConverter.xmlDateTimeToDateString(this.calculationEndDate_)); xmlWriter.WriteElementString("description", this.description_); xmlWriter.WriteElementString("vba_description", this.vba_description_); range1DViewModel_.buildXml(xmlWriter); excel_returnCalcInfoViewModel_.buildXml(xmlWriter); xmlWriter.WriteElementString("dayCounter", this.dayCounter_); xmlWriter.WriteElementString("detailScheduleType", this.detailScheduleType_); xmlWriter.WriteEndElement(); xmlWriter.WriteEndElement(); }
public void buildXml(System.Xml.XmlWriter xmlWriter) { xmlWriter.WriteStartElement("iXmlData"); xmlWriter.WriteElementString("type", "rangeCondition1D"); xmlWriter.WriteStartElement("rangeCondition1D"); range1DViewModel_.buildXml(xmlWriter); xmlWriter.WriteElementString("constValue", this.constValue_); xmlWriter.WriteElementString("refName", this.refName_); xmlWriter.WriteEndElement(); xmlWriter.WriteEndElement(); }
public override void buildXml(System.Xml.XmlWriter xmlWriter) { xmlWriter.WriteStartElement("eventCalculation"); xmlWriter.WriteElementString("excel_type", "simpleRangeEventCal"); xmlWriter.WriteStartElement("simpleRangeEventCal"); range1DViewModel_.buildXml(xmlWriter); referenceCalculationInfoViewModel_.buildXml(xmlWriter); dateInformationViewModel_.buildXml(xmlWriter); jointSimpleCalculationViewModel_.buildXml(xmlWriter); xmlWriter.WriteEndElement(); xmlWriter.WriteEndElement(); }