comparison 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
comparison
equal deleted inserted replaced
-1:000000000000 0:049760c677de
1 /*
2 * (c) Copyright IBM Corp 2001, 2005
3 */
4
5 package javax.wadls.extensions;
6
7 import java.io.*;
8
9 import javax.wadls.*;
10 import javax.xml.namespace.*;
11
12 /**
13 * This interface should be implemented by classes which serialize
14 * extension-specific instances of ExtensibilityElement into the
15 * PrintWriter.
16 *
17 * @author Matthew J. Duftler (duftler@us.ibm.com)
18 */
19 public interface ExtensionSerializer
20 {
21 /**
22 * This method serializes extension-specific instances of
23 * ExtensibilityElement into the PrintWriter.
24 *
25 * @param parentType a class object indicating where in the WSDL
26 * definition this extension was encountered. For
27 * example, javax.wsdls.Binding.class would be used to indicate
28 * this extensibility element was found in the list of
29 * extensibility elements belonging to a javax.wsdls.Binding.
30 * @param elementType the qname of the extensibility element
31 * @param extension the extensibility element to serialize
32 * @param def the definition this extensibility element was
33 * encountered in
34 * @param extReg the ExtensionRegistry to use (if needed again)
35 */
36 public void marshall(Class parentType,
37 QName elementType,
38 ExtensibilityElement extension,
39 PrintWriter pw,
40 Application app,
41 ExtensionRegistry extReg)
42 throws WADLSException;
43 }