Celtix User APIs

org.objectweb.celtix.wsdl
Class JAXBExtensionHelper

java.lang.Object
  extended by org.objectweb.celtix.wsdl.JAXBExtensionHelper
All Implemented Interfaces:
javax.wsdl.extensions.ExtensionDeserializer, javax.wsdl.extensions.ExtensionSerializer

public class JAXBExtensionHelper
extends Object
implements javax.wsdl.extensions.ExtensionSerializer, javax.wsdl.extensions.ExtensionDeserializer

JAXBExtensionHelper


Constructor Summary
JAXBExtensionHelper(JAXBContext c, Class<? extends TExtensibilityElementImpl> cls)
           
 
Method Summary
static void addExtensions(javax.wsdl.extensions.ExtensionRegistry registry, Class<?> parentType, Class<? extends TExtensibilityElementImpl> cls)
           
 void marshall(Class parent, QName qname, javax.wsdl.extensions.ExtensibilityElement obj, PrintWriter pw, javax.wsdl.Definition wsdl, javax.wsdl.extensions.ExtensionRegistry registry)
           
 javax.wsdl.extensions.ExtensibilityElement unmarshall(Class parent, QName qname, Element element, javax.wsdl.Definition wsdl, javax.wsdl.extensions.ExtensionRegistry registry)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAXBExtensionHelper

public JAXBExtensionHelper(JAXBContext c,
                           Class<? extends TExtensibilityElementImpl> cls)
Method Detail

addExtensions

public static void addExtensions(javax.wsdl.extensions.ExtensionRegistry registry,
                                 Class<?> parentType,
                                 Class<? extends TExtensibilityElementImpl> cls)
                          throws JAXBException
Throws:
JAXBException

marshall

public void marshall(Class parent,
                     QName qname,
                     javax.wsdl.extensions.ExtensibilityElement obj,
                     PrintWriter pw,
                     javax.wsdl.Definition wsdl,
                     javax.wsdl.extensions.ExtensionRegistry registry)
              throws javax.wsdl.WSDLException
Specified by:
marshall in interface javax.wsdl.extensions.ExtensionSerializer
Throws:
javax.wsdl.WSDLException

unmarshall

public javax.wsdl.extensions.ExtensibilityElement unmarshall(Class parent,
                                                             QName qname,
                                                             Element element,
                                                             javax.wsdl.Definition wsdl,
                                                             javax.wsdl.extensions.ExtensionRegistry registry)
                                                      throws javax.wsdl.WSDLException
Specified by:
unmarshall in interface javax.wsdl.extensions.ExtensionDeserializer
Throws:
javax.wsdl.WSDLException

Celtix User APIs