Up: Introduction |
The FuGE XSD STK is a lightweight Maven project that uses AndroMDA to read in the UML diagram, or diagrams, and produce an XSD from the UML. AndroMDA has limited XML support, and cannot yet generate FuGE-ML that can be validated against the XSD. Therefore the STK also includes a JAXB2 sub-project that will automatically build XML-binding Java classes based on the auto-generated XSD. The FuGE XSD and FuGE-JAXB2 jar built by this STK will be available on the FuGE Maven2 Repository for both other STKs and external developers to access. Syntactic validation of XML documents based on the generated XSD can be performed by utilizing the JAXB2 code that is created within the project. Example Java classes are also provided to show developers how to input, output, validate, manipulate, and generate validated random output.
The FuGE software tools are separated based on their development goals. The FuGE XSD Project has been specifically created to aid
When you check-out the xsd-stk subversion repository, you will get a Maven2 project. As provided, this project re-creates the FuGE xsd only. However, with a couple of simple modifications a custom UML model can be created, and a community-specific XSD based on the FuGE model can be made. Full instructions for compiling this project and generating the base FuGE XSD, as well as for creating community extensions of FuGE are included in this document in the Installation chapter.
Up: Introduction |