iNTERFACEWARE Products Manual > Installing and Using Chameleon > Language API Documentation > Java Support > Generating Stubcode into a User Defined Package |
|
Looking for Iguana v.5 or v.6? Learn More or see the Help Center.
Most java development software houses have conventions that they like to follow with regard to the choice of package names for different java modules. Chameleon makes it possible to carefully pick the namespace into which the generated stubcode is stored in. The mechanism is to pick a prefix like "com.companyname.HL7". Chameleon will generate the stubcode package under the subdirectory " .\com\companyname\HL7\ " below the directory of the message definition file. To determine the prefix of the stubcode Engine object, Chameleon takes the last set of letters after the previous ".", as its prefix for engine class. For instance, in the above case , you will get a class name like "HL7Engine" although we have a prefix "com.companyname.HL7". This keeps the name of the generated class short and avoids conflicting with the use of the "." Operator in java. The following table gives some example prefixes and what to expect in each case:
|