javax.wsdl.extensions
Interface ExtensionDeserializer

All Known Implementing Classes:
UnknownExtensionDeserializer

public interface ExtensionDeserializer

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

Component:
WSDL-API interfaces

Method Summary
 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.
 

Method Detail

unmarshall

public ExtensibilityElement unmarshall(java.lang.Class parentType,
                                       QName elementType,
                                       org.w3c.dom.Element el,
                                       Definition def,
                                       ExtensionRegistry extReg)
                                throws WSDLException
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.

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