XMI input module example with Entreprise Architect
Pulsar has defined a proprietary XML format for storing model information. This format is used as input to MODEL MAPPER for any generation operation.
Reading the XMI file, using the XPATH library
Converting the XMI format to the proprietary XML format
Pulsar has defined a meta-model that contains each and every information of the considered model in a structure in which entity collections are grouped in package/namespace.
Loading image files
Adding information from images in the internal meta-model
After that, each output module writes the desired information in a specific format. The most complicated formats (thus excluding the export of a list of keywords) use the Velocity library.
The input module classes implement the InputModule interface while the output module classes implement the OutputModule interface.