com.ibm.wsdl.extensions.soap
Class SOAPBodySerializer

java.lang.Object
  extended bycom.ibm.wsdl.extensions.soap.SOAPBodySerializer
All Implemented Interfaces:
ExtensionDeserializer, ExtensionSerializer, java.io.Serializable

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

Author:
Matthew J. Duftler (duftler@us.ibm.com)
See Also:
Serialized Form

Field Summary
static long serialVersionUID
           
 
Constructor Summary
SOAPBodySerializer()
           
 
Method Summary
 void marshall(java.lang.Class parentType, QName elementType, ExtensibilityElement extension, java.io.PrintWriter pw, Definition def, ExtensionRegistry extReg)
          This method serializes extension-specific instances of ExtensibilityElement into the PrintWriter.
 ExtensibilityElement unmarshall(java.lang.Class parentType, QName elementType, org.w3c.dom.Element el, Definition def, ExtensionRegistry extReg)
          This method deserializes elements into instances of classes which implement the ExtensibilityElement interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

SOAPBodySerializer

public SOAPBodySerializer()
Method Detail

marshall

public void marshall(java.lang.Class parentType,
                     QName elementType,
                     ExtensibilityElement extension,
                     java.io.PrintWriter pw,
                     Definition def,
                     ExtensionRegistry extReg)
              throws WSDLException
Description copied from interface: ExtensionSerializer
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)
Throws:
WSDLException

unmarshall

public ExtensibilityElement unmarshall(java.lang.Class parentType,
                                       QName elementType,
                                       org.w3c.dom.Element el,
                                       Definition def,
                                       ExtensionRegistry extReg)
                                throws WSDLException
Description copied from interface: ExtensionDeserializer
This method deserializes elements into instances of classes which implement the ExtensibilityElement interface. The return value should be explicitly cast to the more-specific implementing type.

Specified by:
unmarshall in interface ExtensionDeserializer
Parameters:
parentType - a class object indicating where in the WSDL document this extensibility element was encountered. For example, javax.wsdl.Binding.class would be used to indicate this element was encountered as an immediate child of a element.
elementType - the qname of the extensibility element
el - the extensibility element to deserialize
def - the definition this extensibility element was encountered in
extReg - the ExtensionRegistry to use (if needed again)
Throws:
WSDLException


Copyright ? 2003 IBM. All Rights Reserved.