com.ibm.wsdl.extensions.soap

Class SOAPOperationSerializer

Implemented Interfaces:
ExtensionDeserializer, ExtensionSerializer, Serializable

public class SOAPOperationSerializer
extends java.lang.Object
implements ExtensionSerializer, ExtensionDeserializer, Serializable

Author:
Matthew J. Duftler (duftler@us.ibm.com)

Field Summary

static long
serialVersionUID

Method Summary

void
marshall(Class parentType, QName elementType, ExtensibilityElement extension, PrintWriter pw, Definition def, ExtensionRegistry extReg)
This method serializes extension-specific instances of ExtensibilityElement into the PrintWriter.
ExtensibilityElement
unmarshall(Class parentType, QName elementType, Element el, Definition def, ExtensionRegistry extReg)

Field Details

serialVersionUID

public static final long serialVersionUID
Field Value:
1L

Method Details

marshall

public void marshall(Class parentType,
                     QName elementType,
                     ExtensibilityElement extension,
                     PrintWriter pw,
                     Definition def,
                     ExtensionRegistry extReg)
            throws WSDLException
This method serializes extension-specific instances of ExtensibilityElement into the PrintWriter.
Specified by:
marshall in interface ExtensionSerializer
Parameters:
parentType - a class object indicating where in the WSDL definition this extension was encountered. For example, javax.wsdl.Binding.class would be used to indicate this extensibility element was found in the list of extensibility elements belonging to a javax.wsdl.Binding.
elementType - the qname of the extensibility element
extension - the extensibility element to serialize
def - the definition this extensibility element was encountered in
extReg - the ExtensionRegistry to use (if needed again)

unmarshall

public ExtensibilityElement unmarshall(Class parentType,
                                       QName elementType,
                                       Element el,
                                       Definition def,
                                       ExtensionRegistry extReg)
            throws WSDLException
Specified by:
unmarshall in interface ExtensionDeserializer