CSVInput.fromXml constructor

CSVInput.fromXml(
  1. XmlElement? xml
)

Implementation

CSVInput.fromXml(XmlElement? xml) {
  allowQuotedRecordDelimiter =
      getProp(xml, 'AllowQuotedRecordDelimiter')?.innerText.toUpperCase() ==
          'TRUE';
  comments = getProp(xml, 'Comments')?.innerText;
  fieldDelimiter = getProp(xml, 'FieldDelimiter')?.innerText;
  fileHeaderInfo = getProp(xml, 'FileHeaderInfo')?.innerText;
  quoteCharacter = getProp(xml, 'QuoteCharacter')?.innerText;
  quoteEscapeCharacter = getProp(xml, 'QuoteEscapeCharacter')?.innerText;
  recordDelimiter = getProp(xml, 'RecordDelimiter')?.innerText;
}