javax.wsdl.extensions.ExtensionSerializer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of libre-wsdl4j Show documentation
Show all versions of libre-wsdl4j Show documentation
Open and Free WSDL library: Web Services Description Language. Libre-wsdl4j is a fork of WSDL4J 1.6.3. WSL4j is a Java stub generator for WSDL. Many software projects still depends on WSL4j, so the idea is that libre-wsdl4j should be an actively maintained version of this software on GitHub. "WSDL, that's an anchronym i haven't heard in almost ten years." Still big in the enterprise world" - comments on the Internet.
The newest version!
/*
* (c) Copyright IBM Corp 2001, 2005
*/
package javax.wsdl.extensions;
import java.io.*;
import javax.wsdl.*;
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 ([email protected])
*/
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.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.
* @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)
*/
void marshall(Class> parentType,
QName elementType,
ExtensibilityElement extension,
PrintWriter pw,
Definition def,
ExtensionRegistry extReg)
throws WSDLException;
}