Class GeneratePdus

java.lang.Object
edu.nps.moves.dis7.source.generator.pdus.GeneratePdus

public class GeneratePdus extends Object

A class that reads an XML file in a specific format, and spits out Java, C#, Objective-C, or C++ classes that do most of the work of the protocol.

This can rely on properties set in the XML file for the language. For example, the Java element in the XML file can specify whether Hibernate or JAXB support is included in the generated code.

There is a huge risk of using variable names that have ambiguous meaning here, as many of the terms such as "class" are also used by java or c++.

In effect this is reading an XML file and creating an abstract description of the protocol data units. That abstract description is written out as source code in various languages, such as C++, Java, etc.

Author:
Don McGregor, Mike Bailey and Don Brutzman