public class SOAP12AddressSerializer extends Object implements ExtensionSerializer, ExtensionDeserializer, Serializable
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
SOAP12AddressSerializer() |
Modifier and Type | Method and Description |
---|---|
void |
marshall(Class parentType,
QName elementType,
ExtensibilityElement extension,
PrintWriter pw,
Definition def,
ExtensionRegistry extReg)
This method serializes extension-specific instances of
ExtensibilityElement into the PrintWriter.
|
ExtensibilityElement |
unmarshall(Class parentType,
QName elementType,
Element el,
Definition def,
ExtensionRegistry extReg)
This method deserializes elements into instances of classes
which implement the ExtensibilityElement interface.
|
public static final long serialVersionUID
public void marshall(Class parentType, QName elementType, ExtensibilityElement extension, PrintWriter pw, Definition def, ExtensionRegistry extReg) throws WSDLException
ExtensionSerializer
marshall
in interface ExtensionSerializer
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 elementextension
- the extensibility element to serializedef
- the definition this extensibility element was
encountered inextReg
- the ExtensionRegistry to use (if needed again)WSDLException
public ExtensibilityElement unmarshall(Class parentType, QName elementType, Element el, Definition def, ExtensionRegistry extReg) throws WSDLException
ExtensionDeserializer
unmarshall
in interface ExtensionDeserializer
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 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)WSDLException
Copyright © 2016 JBoss by Red Hat. All rights reserved.