X12RecordWriter Class (Extends EDIRecordWriter)

Overview

The X12RecordWriter is derived from the EDIRecordWriter. It handles the specialized requirements of writing X12 control segments.

Attributes:

  • DOM Element TP Element for trading partner information

  • String Interchange Control Number

  • String Group Control Number

  • Integer Transaction Set Count

  • String Date

  • String Time

Methods:

  • Constructor

  • writeGE

  • writeGS

  • writeIEA

  • writeISA

  • writeSE

  • writeST

Methods

As with the case of the X12RecordReader class, only a few of these methods are very significant. The constructor method doesn't do anything except call the base class constructor. The methods that write transaction set and group trailer segments, writeGE and writeSE, are simple methods that write the number of included ...

Get Using XML with Legacy Business Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.