org.apache.woden.wsdl20.extensions
Class UnknownExtensionSerializer

java.lang.Object
  extended by org.apache.woden.wsdl20.extensions.UnknownExtensionSerializer
All Implemented Interfaces:
ExtensionSerializer

public class UnknownExtensionSerializer
extends java.lang.Object
implements ExtensionSerializer

This class is used to serialize UnknownExtensionElement instances into the PrintWriter.

Copied from WSDL4J.

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

Constructor Summary
UnknownExtensionSerializer()
           
 
Method Summary
 void marshall(java.lang.Class parentType, QName elementType, ExtensionElement extension, java.io.PrintWriter pw, DescriptionElement desc, ExtensionRegistry extReg)
          This method serializes extension-specific instances of ExtensibilityElement into the PrintWriter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnknownExtensionSerializer

public UnknownExtensionSerializer()
Method Detail

marshall

public void marshall(java.lang.Class parentType,
                     QName elementType,
                     ExtensionElement extension,
                     java.io.PrintWriter pw,
                     DescriptionElement desc,
                     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
pw - the print writer on which to serialize the extension
desc - the description element this extensibility element was encountered in
extReg - the ExtensionRegistry to use (if needed again)
Throws:
WSDLException


Copyright © 2007. All Rights Reserved.