Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • IaXmlWriter

Index

Constructors

constructor

  • new IaXmlWriter(xml: XMLElementOrXMLNode): IaXmlWriter

Properties

Private _writer

_writer: XMLElementOrXMLNode

Static Readonly intacctDateFormat

intacctDateFormat: "mm/dd/yyyy" = "mm/dd/yyyy"

Static Readonly intacctDateTimeFormat

intacctDateTimeFormat: "mm/dd/yyyy HH:MM:ss" = "mm/dd/yyyy HH:MM:ss"

Static Readonly intacctMultiSelectGlue

intacctMultiSelectGlue: "#~#" = "#~#"

Methods

flush

  • flush(pretty?: boolean): string

writeAttribute

  • writeAttribute(localName: string, value: any, writeNull?: boolean): void

writeCustomFieldsExplicit

  • writeCustomFieldsExplicit(customFields: Array<[string, any]>): void

writeCustomFieldsImplicit

  • writeCustomFieldsImplicit(customFields: Array<[string, any]>): void

writeDateSplitElements

  • writeDateSplitElements(date: Date, writeNull?: boolean): void

writeElement

  • writeElement(localName: string, value: any, writeNull?: boolean): void

writeElementDate

  • writeElementDate(localName: string, value: Date, format?: string, writeNull?: boolean): void
  • Parameters

    • localName: string
    • value: Date
    • Optional format: string
    • Optional writeNull: boolean

    Returns void

writeEndElement

  • writeEndElement(): void

writeStartElement

  • writeStartElement(localName: string): void

Legend

  • Class
  • Constructor
  • Method
  • Variable
  • Interface
  • Private property
  • Static property

Generated using TypeDoc