Commit b0bdd91b authored by Matthias Betz's avatar Matthias Betz
Browse files

revert to old javax imports because of citygml4j

parent 0d3d43e0
Pipeline #1892 passed with stage
in 3 minutes and 6 seconds
...@@ -26,6 +26,13 @@ import java.util.HashMap; ...@@ -26,6 +26,13 @@ import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.JAXBException;
import javax.xml.bind.Marshaller;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.stream.XMLOutputFactory; import javax.xml.stream.XMLOutputFactory;
import javax.xml.stream.XMLStreamException; import javax.xml.stream.XMLStreamException;
import javax.xml.stream.XMLStreamWriter; import javax.xml.stream.XMLStreamWriter;
...@@ -35,13 +42,6 @@ import org.xml.sax.InputSource; ...@@ -35,13 +42,6 @@ import org.xml.sax.InputSource;
import de.hft.stuttgart.citydoctor2.checkresult.utility.CheckReportParseException; import de.hft.stuttgart.citydoctor2.checkresult.utility.CheckReportParseException;
import de.hft.stuttgart.citydoctor2.checkresult.utility.CheckReportWriteException; import de.hft.stuttgart.citydoctor2.checkresult.utility.CheckReportWriteException;
import de.hft.stuttgart.citydoctor2.checkresult.utility.IndentationXmlStreamWriter; import de.hft.stuttgart.citydoctor2.checkresult.utility.IndentationXmlStreamWriter;
import jakarta.xml.bind.JAXBContext;
import jakarta.xml.bind.JAXBException;
import jakarta.xml.bind.Marshaller;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlRootElement;
@XmlRootElement(name = "error_report") @XmlRootElement(name = "error_report")
@XmlAccessorType(XmlAccessType.FIELD) @XmlAccessorType(XmlAccessType.FIELD)
......
...@@ -18,10 +18,10 @@ ...@@ -18,10 +18,10 @@
*/ */
package de.hft.stuttgart.citydoctor2.checkresult; package de.hft.stuttgart.citydoctor2.checkresult;
import jakarta.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElement;
@XmlAccessorType(XmlAccessType.FIELD) @XmlAccessorType(XmlAccessType.FIELD)
public class EdgeReport { public class EdgeReport {
......
...@@ -21,10 +21,10 @@ package de.hft.stuttgart.citydoctor2.checkresult; ...@@ -21,10 +21,10 @@ package de.hft.stuttgart.citydoctor2.checkresult;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElement;
@XmlAccessorType(XmlAccessType.FIELD) @XmlAccessorType(XmlAccessType.FIELD)
public class EdgesReport { public class EdgesReport {
......
...@@ -18,9 +18,9 @@ ...@@ -18,9 +18,9 @@
*/ */
package de.hft.stuttgart.citydoctor2.checkresult; package de.hft.stuttgart.citydoctor2.checkresult;
import jakarta.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElement;
@XmlAccessorType(XmlAccessType.FIELD) @XmlAccessorType(XmlAccessType.FIELD)
public class Environment { public class Environment {
......
...@@ -21,9 +21,9 @@ package de.hft.stuttgart.citydoctor2.checkresult; ...@@ -21,9 +21,9 @@ package de.hft.stuttgart.citydoctor2.checkresult;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElement;
@XmlAccessorType(XmlAccessType.FIELD) @XmlAccessorType(XmlAccessType.FIELD)
public class ErrorDetails { public class ErrorDetails {
......
...@@ -18,10 +18,10 @@ ...@@ -18,10 +18,10 @@
*/ */
package de.hft.stuttgart.citydoctor2.checkresult; package de.hft.stuttgart.citydoctor2.checkresult;
import jakarta.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElement;
@XmlAccessorType(XmlAccessType.FIELD) @XmlAccessorType(XmlAccessType.FIELD)
public class ErrorReport { public class ErrorReport {
......
...@@ -18,10 +18,10 @@ ...@@ -18,10 +18,10 @@
*/ */
package de.hft.stuttgart.citydoctor2.checkresult; package de.hft.stuttgart.citydoctor2.checkresult;
import jakarta.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlValue; import javax.xml.bind.annotation.XmlValue;
@XmlAccessorType(XmlAccessType.FIELD) @XmlAccessorType(XmlAccessType.FIELD)
public class ErrorStatistic { public class ErrorStatistic {
......
...@@ -18,9 +18,9 @@ ...@@ -18,9 +18,9 @@
*/ */
package de.hft.stuttgart.citydoctor2.checkresult; package de.hft.stuttgart.citydoctor2.checkresult;
import jakarta.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlAttribute;
@XmlAccessorType(XmlAccessType.FIELD) @XmlAccessorType(XmlAccessType.FIELD)
public class Feature { public class Feature {
......
...@@ -21,11 +21,11 @@ package de.hft.stuttgart.citydoctor2.checkresult; ...@@ -21,11 +21,11 @@ package de.hft.stuttgart.citydoctor2.checkresult;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlElementWrapper; import javax.xml.bind.annotation.XmlElementWrapper;
@XmlAccessorType(XmlAccessType.FIELD) @XmlAccessorType(XmlAccessType.FIELD)
public class FeatureReport { public class FeatureReport {
......
...@@ -18,10 +18,10 @@ ...@@ -18,10 +18,10 @@
*/ */
package de.hft.stuttgart.citydoctor2.checkresult; package de.hft.stuttgart.citydoctor2.checkresult;
import jakarta.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElement;
@XmlAccessorType(XmlAccessType.FIELD) @XmlAccessorType(XmlAccessType.FIELD)
public class GeometryReport { public class GeometryReport {
......
...@@ -18,9 +18,9 @@ ...@@ -18,9 +18,9 @@
*/ */
package de.hft.stuttgart.citydoctor2.checkresult; package de.hft.stuttgart.citydoctor2.checkresult;
import jakarta.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElement;
@XmlAccessorType(XmlAccessType.FIELD) @XmlAccessorType(XmlAccessType.FIELD)
public class GlobalErrorStatistics { public class GlobalErrorStatistics {
......
...@@ -21,10 +21,10 @@ package de.hft.stuttgart.citydoctor2.checkresult; ...@@ -21,10 +21,10 @@ package de.hft.stuttgart.citydoctor2.checkresult;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlElementWrapper; import javax.xml.bind.annotation.XmlElementWrapper;
@XmlAccessorType(XmlAccessType.FIELD) @XmlAccessorType(XmlAccessType.FIELD)
public class GlobalStatistics { public class GlobalStatistics {
......
...@@ -20,11 +20,12 @@ package de.hft.stuttgart.citydoctor2.checkresult; ...@@ -20,11 +20,12 @@ package de.hft.stuttgart.citydoctor2.checkresult;
import java.time.ZonedDateTime; import java.time.ZonedDateTime;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import de.hft.stuttgart.citydoctor2.marshaller.ZonedDateTimeAdapter; import de.hft.stuttgart.citydoctor2.marshaller.ZonedDateTimeAdapter;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
@XmlAccessorType(XmlAccessType.FIELD) @XmlAccessorType(XmlAccessType.FIELD)
public class Header { public class Header {
......
...@@ -18,9 +18,9 @@ ...@@ -18,9 +18,9 @@
*/ */
package de.hft.stuttgart.citydoctor2.checkresult; package de.hft.stuttgart.citydoctor2.checkresult;
import jakarta.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElement;
@XmlAccessorType(XmlAccessType.FIELD) @XmlAccessorType(XmlAccessType.FIELD)
public class ModelStatistics { public class ModelStatistics {
......
...@@ -18,10 +18,10 @@ ...@@ -18,10 +18,10 @@
*/ */
package de.hft.stuttgart.citydoctor2.checkresult; package de.hft.stuttgart.citydoctor2.checkresult;
import jakarta.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlValue; import javax.xml.bind.annotation.XmlValue;
@XmlAccessorType(XmlAccessType.FIELD) @XmlAccessorType(XmlAccessType.FIELD)
public class ParameterReport { public class ParameterReport {
......
...@@ -18,9 +18,9 @@ ...@@ -18,9 +18,9 @@
*/ */
package de.hft.stuttgart.citydoctor2.checkresult; package de.hft.stuttgart.citydoctor2.checkresult;
import jakarta.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlAttribute;
@XmlAccessorType(XmlAccessType.FIELD) @XmlAccessorType(XmlAccessType.FIELD)
public class ParentReport { public class ParentReport {
......
...@@ -21,10 +21,10 @@ package de.hft.stuttgart.citydoctor2.checkresult; ...@@ -21,10 +21,10 @@ package de.hft.stuttgart.citydoctor2.checkresult;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElement;
@XmlAccessorType(XmlAccessType.FIELD) @XmlAccessorType(XmlAccessType.FIELD)
public class PlanCheck { public class PlanCheck {
......
...@@ -18,10 +18,10 @@ ...@@ -18,10 +18,10 @@
*/ */
package de.hft.stuttgart.citydoctor2.checkresult; package de.hft.stuttgart.citydoctor2.checkresult;
import jakarta.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlValue; import javax.xml.bind.annotation.XmlValue;
@XmlAccessorType(XmlAccessType.FIELD) @XmlAccessorType(XmlAccessType.FIELD)
public class PlanParameter { public class PlanParameter {
......
...@@ -21,11 +21,11 @@ package de.hft.stuttgart.citydoctor2.checkresult; ...@@ -21,11 +21,11 @@ package de.hft.stuttgart.citydoctor2.checkresult;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlElementWrapper; import javax.xml.bind.annotation.XmlElementWrapper;
@XmlAccessorType(XmlAccessType.FIELD) @XmlAccessorType(XmlAccessType.FIELD)
public class PolygonReport { public class PolygonReport {
......
...@@ -21,10 +21,10 @@ package de.hft.stuttgart.citydoctor2.checkresult; ...@@ -21,10 +21,10 @@ package de.hft.stuttgart.citydoctor2.checkresult;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElement;
@XmlAccessorType(XmlAccessType.FIELD) @XmlAccessorType(XmlAccessType.FIELD)
public class PolygonsReport { public class PolygonsReport {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment