summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbschnalzer <bianca.schnalzer@egiz.gv.at>2017-03-13 15:30:24 (GMT)
committerbschnalzer <bianca.schnalzer@egiz.gv.at>2017-03-13 15:30:24 (GMT)
commitc48a41150cf3fb5abc951e583f04f83ed901adfc (patch)
tree9bbdc13b973ed20647fde38ae9e639d4f5334415
parent91968dd45fc5ebf1fccc1c7e4a718eb30df1626b (diff)
downloadmocca-c48a41150cf3fb5abc951e583f04f83ed901adfc.zip
mocca-c48a41150cf3fb5abc951e583f04f83ed901adfc.tar.gz
mocca-c48a41150cf3fb5abc951e583f04f83ed901adfc.tar.bz2
Update JUnitTest for new JAXB-Version
-rw-r--r--bkucommon/src/test/java/moaspss/MOASPClient.java15
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 4c5ec14..24fad7e 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();
+ }
};
}