Mercurial > repos > ganjoo > webservice_toolsuite
view WebServiceToolWorkflow/lib/SAWADLParser/src/javax/wadls/extensions/ExtensionSerializer.java @ 0:d5cd409b8a18 default tip
Migrated tool version 1.0.0 from old tool shed archive to new tool shed repository
author | ganjoo |
---|---|
date | Tue, 07 Jun 2011 18:00:50 -0400 |
parents | |
children |
line wrap: on
line source
/* * (c) Copyright IBM Corp 2001, 2005 */ package javax.wadls.extensions; import java.io.*; import javax.wadls.*; import javax.xml.namespace.*; /** * This interface should be implemented by classes which serialize * extension-specific instances of ExtensibilityElement into the * PrintWriter. * * @author Matthew J. Duftler (duftler@us.ibm.com) */ public interface ExtensionSerializer { /** * This method serializes extension-specific instances of * ExtensibilityElement into the PrintWriter. * * @param parentType a class object indicating where in the WSDL * definition this extension was encountered. For * example, javax.wsdls.Binding.class would be used to indicate * this extensibility element was found in the list of * extensibility elements belonging to a javax.wsdls.Binding. * @param elementType the qname of the extensibility element * @param extension the extensibility element to serialize * @param def the definition this extensibility element was * encountered in * @param extReg the ExtensionRegistry to use (if needed again) */ public void marshall(Class parentType, QName elementType, ExtensibilityElement extension, PrintWriter pw, Application app, ExtensionRegistry extReg) throws WADLSException; }