Class GeneratePdusForGivenLanguage

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

public class GeneratePdusForGivenLanguage extends Object

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

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

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

There is a huge risk of using variable names that have ambiguous meaning here, since many of the terms such as "class" are also used by java or c++. Be careful and scrupulous out there!

Author:
Don McGregor, Mike Bailey and Don Brutzman