javax.wsdl.extensions
Interface ExtensionSerializer

All Known Implementing Classes:
UnknownExtensionSerializer

public interface ExtensionSerializer

This interface should be implemented by classes which serialize extension-specific instances of ExtensibilityElement into the PrintWriter.

Component:
WSDL-API interfaces

Method Summary
 void marshall(java.lang.Class parentType, QName elementType, ExtensibilityElement extension, java.io.PrintWriter pw, Definition def, ExtensionRegistry extReg)
          This method serializes extension-specific instances of ExtensibilityElement into the PrintWriter.
 

Method Detail

marshall

public void marshall(java.lang.Class parentType,
                     QName elementType,
                     ExtensibilityElement extension,
                     java.io.PrintWriter pw,
                     Definition def,
                     ExtensionRegistry extReg)
              throws WSDLException
This method serializes extension-specific instances of ExtensibilityElement into the PrintWriter.

Parameters:
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 element
extension - the extensibility element to serialize
def - the definition this extensibility element was encountered in
extReg - the ExtensionRegistry to use (if needed again)
Throws:
WSDLException