org.apache.woden.wsdl20.extensions
Interface ExtensionDeserializer

All Known Implementing Classes:
HTTPHeaderDeserializer, SOAPHeaderBlockDeserializer, SOAPModuleDeserializer, UnknownExtensionDeserializer

public interface ExtensionDeserializer

This interface should be implemented by classes which deserialize org.w3c.dom.Elements into extension-specific instances of ExtensionElement.

Copied from WSDL4J.

Author:
Matthew J. Duftler (duftler@us.ibm.com), jkaputin@apache.org (modified for Woden)

Method Summary
 ExtensionElement unmarshall(java.lang.Class parentType, java.lang.Object parent, QName extType, XMLElement extEl, DescriptionElement desc, ExtensionRegistry extReg)
          This method deserializes elements into instances of classes which implement the ExtensionElement interface.
 

Method Detail

unmarshall

ExtensionElement unmarshall(java.lang.Class parentType,
                            java.lang.Object parent,
                            QName extType,
                            XMLElement extEl,
                            DescriptionElement desc,
                            ExtensionRegistry extReg)
                            throws WSDLException
This method deserializes elements into instances of classes which implement the ExtensionElement interface. The return value should be explicitly cast to the more-specific implementing type.

Parameters:
parentType - a class object indicating where in the WSDL document this extension element was encountered. For example, javax.wsdl.Binding.class would be used to indicate this element was encountered as an immediate child of a <wsdl:binding> element.
parent - the parent object of this extension element
extType - the qname of the extension element to deserialize
extEl - the extension element
desc - the <description> this extension element was encountered in
extReg - the ExtensionRegistry to use (if needed again)
Throws:
WSDLException


Copyright © 2007. All Rights Reserved.