Skip to content

FHOOEAIST/xes-model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XES - Model

XES model provides autogenerated XES domain classes based on the XES standard. These classes are generated using the XML schema definition files and jax-b.

Getting Started

To use the classes, simply include the maven dependency on the project.

<dependency>
    <groupId>science.aist</groupId>
    <artifactId>xes-model</artifactId>
    <version>1.0.0</version>
    <scope>compile</scope> <!-- Note: this is default -->
</dependency>

Then you are able to load XES files the following way:

XMLRepository<LogType> repository = new LogRepository()

// load
JAXBElement<LogType> log = repository.load(inputStream);

// save
repository.save(log, outputStream);

Building the XML model yourself

If you want to build the project yourself, just checkout this git repo, make sure you have jdk 11 or above installed as well as maven 3.6.0 or above and build the project by running the maven command: mvn package. This results in a jar-file inside the target folder, which can be used as a dependency in other projects.

FAQ

If you have any questions, please checkout our FAQ section.

Contributing

First make sure to read our general contribution guidelines.

License

Copyright (c) 2022 the original author or authors. DO NOT ALTER OR REMOVE COPYRIGHT NOTICES.

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.

Research

If you are going to use this project as part of a research paper, we would ask you to reference this project by citing it.

DOI