get rid of ObjectFactory.java

This commit is contained in:
Andreas Penski (init) 2020-04-29 16:57:15 +02:00
parent 5b1d0cd467
commit d0000fc698
20 changed files with 494 additions and 445 deletions

View file

@ -45,15 +45,18 @@
</jaxb:bindings>
<jaxb:bindings schemaLocation="../xsd/assertions.xsd">
<jaxb:schemaBindings>
<jaxb:package name="de.kosit.validationtool.cmd.assertions"/>
<jaxb:package name="de.kosit.validationtool.cmd.assertions" />
</jaxb:schemaBindings>
</jaxb:bindings>
<jaxb:bindings schemaLocation="../xsd/svrl-kosit.xsd">
<jaxb:bindings node="//xs:element[@name='schematron-output']/xs:complexType">
<inheritance:extends>de.kosit.validationtool.impl.model.BaseOutput</inheritance:extends>
</jaxb:bindings>
</jaxb:bindings>
<jaxb:bindings schemaLocation="../xsd/daemon.xsd">
<jaxb:schemaBindings>
<jaxb:package name="de.kosit.validationtool.model.daemon" />
</jaxb:schemaBindings>
</jaxb:bindings>
</jaxb:bindings>

View file

@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns:d="http://www.xoev.de/de/validator/framework/1/daemon" targetNamespace="http://www.xoev.de/de/validator/framework/1/daemon"
elementFormDefault="qualified"
xmlns="http://www.w3.org/2001/XMLSchema" version="1.0.0">
<element name="health" type="d:HealthType"></element>
<complexType name="ApplicationType">
<sequence>
<element name="name" type="string"></element>
<element name="version" type="string"></element>
<element name="build" type="string"></element>
</sequence>
</complexType>
<complexType name="HealthType">
<sequence>
<element name="status">
<simpleType>
<restriction base="string">
<enumeration value="UP"></enumeration>
<enumeration value="DOWN"></enumeration>
<enumeration value="WARN"></enumeration>
</restriction>
</simpleType>
</element>
<element name="application" type="d:ApplicationType"></element>
<element name="memory" type="d:MemoryType"></element>
</sequence>
</complexType>
<complexType name="MemoryType">
<sequence>
<element name="freeMemory" type="long"></element>
<element name="maxMemory" type="long"></element>
<element name="totalMemory" type="long"></element>
</sequence>
</complexType>
</schema>