org.apache.woden.wsdl20.extensions
Class UnknownExtensionDeserializer

java.lang.Object
  extended by org.apache.woden.wsdl20.extensions.UnknownExtensionDeserializer
All Implemented Interfaces:
ExtensionDeserializer

public class UnknownExtensionDeserializer
extends java.lang.Object
implements ExtensionDeserializer

This class is used to deserialize arbitrary elements into UnknownExtensionElement instances.

Copied from WSDL4J.

Author:
Matthew J. Duftler (duftler@us.ibm.com)
See Also:
UnknownExtensionElement, UnknownExtensionSerializer

Constructor Summary
UnknownExtensionDeserializer()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnknownExtensionDeserializer

public UnknownExtensionDeserializer()
Method Detail

unmarshall

public ExtensionElement unmarshall(java.lang.Class parentType,
                                   java.lang.Object parent,
                                   QName extType,
                                   XMLElement extEl,
                                   DescriptionElement desc,
                                   ExtensionRegistry extReg)
                            throws WSDLException
Description copied from interface: ExtensionDeserializer
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.

Specified by:
unmarshall in interface ExtensionDeserializer
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.