RecordHandler Base Class

Overview

This class provides basic support for handling records in non-XML-formatted files. It is the ultimate base class from which all of our various reader and writer classes are derived. It has a few basic data structures and utility methods.

Attributes:

  • Array of Pointers DataCell Array

  • Integer Highest Cell

  • DOM Document File Description Document

  • Byte or Character Array Record Buffer

  • Integer Record Buffer Length

  • Byte Record Terminator1

  • Byte Record Terminator2

Terminator1 is used for all record formats except fixed length flat files. It is used to store the primary record terminator character for variable length files and the segment terminator for EDI. Terminator2 is used to store the secondary record terminator character ...

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.