RecordReader Base Class (Extends RecordHandler)
Overview
This class provides basic support for reading records from non-XML-formatted files and converting them to XML. Many of the methods are used in the derived classes, though some are overridden. We will add methods as we build the various utilities.
Attributes:
Input Stream
DOM Document Output Document
Methods:
Constructor
getRecordType (virtual)
parseRecord (virtual)
readRecord (virtual)
readRecordVariableLength
setInputStream
setOutputDocument
toXMLType
writeRecord
Methods
Constructor
The RecordReader has two very basic constructor functions. The first takes a single argument of file description document name and doesn't do anything but call the base RecordHandler constructor. The second version ...
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.