Converter Base Class

Overview

The Converter class is the base class from which the source and target converters are derived. The bullets below summarize the primary attributes and methods.

Attributes:

  • DOM Document File Description Document

  • DOM Element Grammar Element

  • String Root Element Name

Methods:

  • Constructor

  • loadFileDescriptionDocument

Methods

Constructor

The base class Converter constructor performs only some very basic setup.

Logic for the Converter Constructor Method
Arguments:
  None

Set up implementation dependent environment for loading and
    parsing the File Description Document
loadFileDescriptionDocument

This operation is coded as a separate function since the EDI converter may need to load more than one file description document as ...

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.