diff options
author | bschnalzer <bianca.schnalzer@egiz.gv.at> | 2017-03-13 16:30:24 +0100 |
---|---|---|
committer | bschnalzer <bianca.schnalzer@egiz.gv.at> | 2017-03-13 16:30:24 +0100 |
commit | c48a41150cf3fb5abc951e583f04f83ed901adfc (patch) | |
tree | 9bbdc13b973ed20647fde38ae9e639d4f5334415 /bkucommon | |
parent | 91968dd45fc5ebf1fccc1c7e4a718eb30df1626b (diff) | |
download | mocca-c48a41150cf3fb5abc951e583f04f83ed901adfc.tar.gz mocca-c48a41150cf3fb5abc951e583f04f83ed901adfc.tar.bz2 mocca-c48a41150cf3fb5abc951e583f04f83ed901adfc.zip |
Update JUnitTest for new JAXB-Version
Diffstat (limited to 'bkucommon')
-rw-r--r-- | bkucommon/src/test/java/moaspss/MOASPClient.java | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/bkucommon/src/test/java/moaspss/MOASPClient.java b/bkucommon/src/test/java/moaspss/MOASPClient.java index 4c5ec14c..24fad7e8 100644 --- a/bkucommon/src/test/java/moaspss/MOASPClient.java +++ b/bkucommon/src/test/java/moaspss/MOASPClient.java @@ -63,6 +63,7 @@ import com.sun.xml.bind.api.JAXBRIContext; import com.sun.xml.bind.api.RawAccessor; import com.sun.xml.bind.api.TypeReference; import com.sun.xml.bind.marshaller.NamespacePrefixMapper; +import com.sun.xml.bind.v2.model.runtime.RuntimeTypeInfoSet; import com.sun.xml.ws.api.model.SEIModel; import com.sun.xml.ws.developer.JAXBContextFactory; import com.sun.xml.ws.developer.UsesJAXBContextFeature; @@ -171,6 +172,20 @@ public class MOASPClient { public Bridge<?> createBridge(TypeReference arg0) { return context.createBridge(arg0); } + + @Override + public QName getElementName(Class arg0) throws JAXBException { + return context.getElementName(arg0); + // TODO Auto-generated method stub + //return null; + } + + @Override + public RuntimeTypeInfoSet getRuntimeTypeInfoSet() { + // TODO Auto-generated method stub + //return null; + return context.getRuntimeTypeInfoSet(); + } }; } |