aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/gv/egiz/moazs/config
diff options
context:
space:
mode:
authorChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-04-30 15:34:41 +0200
committerChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-05-06 10:21:12 +0200
commit2df40409c69c94f03c802a5f73b7e56e40c03a95 (patch)
treefeed77bde21a077341484429e2eb2af289e432fc /src/main/java/at/gv/egiz/moazs/config
parent2b6e1ed4f45645797b2874a7cb3be6070265be43 (diff)
downloadmoa-zs-2df40409c69c94f03c802a5f73b7e56e40c03a95.tar.gz
moa-zs-2df40409c69c94f03c802a5f73b7e56e40c03a95.tar.bz2
moa-zs-2df40409c69c94f03c802a5f73b7e56e40c03a95.zip
Change Package Namespaces of JAXB Generated Sources
- Reason: Improves readability and makes import statetemens shorter and more consistent
Diffstat (limited to 'src/main/java/at/gv/egiz/moazs/config')
-rw-r--r--src/main/java/at/gv/egiz/moazs/config/MarshallerConfig.java10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/main/java/at/gv/egiz/moazs/config/MarshallerConfig.java b/src/main/java/at/gv/egiz/moazs/config/MarshallerConfig.java
index f00a2b5..e6e3cc1 100644
--- a/src/main/java/at/gv/egiz/moazs/config/MarshallerConfig.java
+++ b/src/main/java/at/gv/egiz/moazs/config/MarshallerConfig.java
@@ -4,8 +4,6 @@ import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.oxm.jaxb.Jaxb2Marshaller;
-import javax.xml.bind.JAXBContext;
-import javax.xml.bind.JAXBException;
import java.util.HashMap;
@Configuration
@@ -15,10 +13,10 @@ public class MarshallerConfig {
public Jaxb2Marshaller jaxb2Marshaller() {
Jaxb2Marshaller marshaller = new Jaxb2Marshaller();
marshaller.setClassesToBeBound(
- at.gv.e_government.reference.namespace.zustellung.mzs.persondata_.ObjectFactory.class,
- at.gv.e_government.reference.namespace.zustellung.mzs.app2mzs_.ObjectFactory.class,
- at.gv.e_government.reference.namespace.zustellung.msg.phase2._20181206_.ObjectFactory.class,
- at.gv.e_government.reference.namespace.persondata.phase2._20181206_.ObjectFactory.class);
+ at.gv.zustellung.msg.xsd.ObjectFactory.class,
+ at.gv.zustellung.msg.xsd.persondata.ObjectFactory.class,
+ at.gv.zustellung.app2mzs.xsd.ObjectFactory.class,
+ at.gv.zustellung.app2mzs.xsd.persondata.ObjectFactory.class);
marshaller.setMarshallerProperties(new HashMap<String, Object>() {{
put(javax.xml.bind.Marshaller.JAXB_FORMATTED_OUTPUT, true);