1 17 package org.apache.servicemix.jms.wsdl; 18 19 import javax.wsdl.Definition; 20 import javax.wsdl.WSDLException; 21 import javax.wsdl.extensions.ExtensibilityElement; 22 import javax.wsdl.extensions.ExtensionDeserializer; 23 import javax.wsdl.extensions.ExtensionRegistry; 24 import javax.xml.namespace.QName ; 25 26 import org.w3c.dom.Element ; 27 28 public class JmsBindingDeserializer implements ExtensionDeserializer { 29 30 public ExtensibilityElement unmarshall( 31 Class parentType, 32 QName elementType, 33 Element el, 34 Definition def, 35 ExtensionRegistry extReg) 36 throws WSDLException { 37 38 JmsBinding jmsBinding = (JmsBinding) extReg.createExtension(parentType, elementType); 39 40 return jmsBinding; 41 } 42 43 } 44 | Popular Tags |