Target Converter Processing

Figure 6.3 shows a simplified high-level collaboration diagram of the classes and processing of the target converter. Again, the exact details vary for each of the converters.

Figure 6.3. Target Converter Collaboration Diagram

The main routine is very similar to that of the source converter in that it processes the command line arguments. However, instead of just passing along the name of one legacy source file to the TargetConverter class, it reads a directory to retrieve the file names of the XML documents to process. It also opens and closes the output legacy format file. For each XML document file in the input directory ...

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.