Mercurial > repos > uga-galaxy-group > webservice_toolsuite_v1_1
diff WebServiceExtensionsV1.1/WebServiceToolWorkflow_REST_SOAP/lib/SAWADLParser/src/javax/wadls/extensions/ExtensionSerializer.java @ 0:049760c677de default tip
Galaxy WSExtensions added successfully
author | uga-galaxy-group |
---|---|
date | Tue, 05 Jul 2011 19:34:18 -0400 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/WebServiceExtensionsV1.1/WebServiceToolWorkflow_REST_SOAP/lib/SAWADLParser/src/javax/wadls/extensions/ExtensionSerializer.java Tue Jul 05 19:34:18 2011 -0400 @@ -0,0 +1,43 @@ +/* + * (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; +} \ No newline at end of file