Skip navigation links

Package de.aristaflow.adept2.model.processmodel.xml

The xml packages provides a generic import and export functionality for all components implementing the common ADEPT2 processmodel interfaces and just requires an implementation of the ProcessModelFactory.

See: Description

Package de.aristaflow.adept2.model.processmodel.xml Description

The xml packages provides a generic import and export functionality for all components implementing the common ADEPT2 processmodel interfaces and just requires an implementation of the ProcessModelFactory.

Additional Notes

File names

Import and export do not care about file names and file extensions. However, some other components (e.g. an editor) may expect the following naming conventions:

Additional information

The exported document, e.g. for a template, may hold more information than just for the template. E.g. it is possible to store the TemplateStatus information within the same template file, but Template itself does not hold a reference to this information!

For these cases, import and export offer several methods to either store all this information in one file (requires e.g. a Template and a TemplateStatus object as parameter), or load specific information from the same document (e.g. one method to load a Template object from an XML file, another method to load a TemplateStatus object from the same file).

Import

The XML import requires an implementation of the process model factory.

Export

XML and XML Schema files

The XSD files are within the same package like the classes for importing and exporting from / to XML. Namespaces
The data model and the histories use different namespaces:

Examples

Example files are included in the doc-files directory of the API documentation:
Skip navigation links