Class UnknownExtensionSerializer

java.lang.Object
javax.wsdl.extensions.UnknownExtensionSerializer
All Implemented Interfaces:
Serializable, ExtensionSerializer

public class UnknownExtensionSerializer extends Object implements ExtensionSerializer, Serializable
This class is used to serialize UnknownExtensibilityElement instances into the PrintWriter.
Author:
Matthew J. Duftler (duftler@us.ibm.com)
See Also:
  • Field Details

  • Constructor Details

    • UnknownExtensionSerializer

      public UnknownExtensionSerializer()
  • Method Details

    • marshall

      public void marshall(Class parentType, QName elementType, ExtensibilityElement extension, PrintWriter pw, Definition def, ExtensionRegistry extReg) throws WSDLException
      Description copied from interface: ExtensionSerializer
      This method serializes extension-specific instances of ExtensibilityElement into the PrintWriter.
      Specified by:
      marshall in interface ExtensionSerializer
      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