HOPEX UML : HOPEX XML Schemas : Components : Component structure (XML Schemas)
   
Component structure (XML Schemas)
 
File stereotype
Project stereotype
There are two types of component structure:
the File stereotype
the Project stereotype
File stereotype
A File component contains the schemas (classes) to be generated, and by default generates all schemas in succession in a single file.
Project stereotype
A Project component groups sub-projects. It may include:
classes
packages
sub-components (file components or project sub-components).
In a project component, all schemas are by default generated in separate files.
*If the project component contains a package, one file will be generated for each XML Document Definition Root class in the package.
*If the project component contains a sub-component, a file containing all the code for the sub-component will be generated.
Hierarchy of available components
Root Project
Standard component ensuring the generation of child components of any type.
XSD Project
Generates a file for each element in the component. The possible components are defined in the following sub-list.
XSD File: generates a file in DTD format corresponding to the schema class associated with the component.