Package com.ibm.wsdl.extensions.schema
Class SchemaDeserializer
java.lang.Object
com.ibm.wsdl.extensions.schema.SchemaDeserializer
- All Implemented Interfaces:
Serializable
,ExtensionDeserializer
This class is used to deserialize
<schema>
elements into
Schema instances.- Author:
- Jeremy Hughes <hughesj@uk.ibm.com>
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
setLocator
(WSDLLocator loc) Set the WSDLLocator to be used by the deserializer on this thread.unmarshall
(Class parentType, QName elementType, Element el, Definition def, ExtensionRegistry extReg) This method deserializes elements into instances of classes which implement the ExtensibilityElement interface.
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
-
Constructor Details
-
SchemaDeserializer
public SchemaDeserializer()
-
-
Method Details
-
setLocator
Set the WSDLLocator to be used by the deserializer on this thread.- Parameters:
loc
- The WSDLLocator to be used.- See Also:
-
unmarshall
public ExtensibilityElement unmarshall(Class parentType, QName elementType, 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 interfaceExtensionDeserializer
- 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 <wsdl:binding> element.elementType
- the qname of the extensibility elementel
- the extensibility element to deserializedef
- the definition this extensibility element was encountered inextReg
- the ExtensionRegistry to use (if needed again)- Throws:
WSDLException
-