javax.wsdl
Interface Binding

All Superinterfaces:
ElementExtensible, java.io.Serializable
All Known Implementing Classes:
BindingImpl

public interface Binding
extends java.io.Serializable, ElementExtensible

This interface represents a port type binding and describes the protocol required for using operations in a port type.

Author:
Paul Fremantle, Nirmal Mukhi, Matthew J. Duftler

Method Summary
 void addBindingOperation(BindingOperation bindingOperation)
          Add an operation binding to binding.
 BindingOperation getBindingOperation(java.lang.String name, java.lang.String inputName, java.lang.String outputName)
          Get the specified operation binding.
 java.util.List getBindingOperations()
          Get all the operation bindings defined here.
 org.w3c.dom.Element getDocumentationElement()
          Get the documentation element.
 PortType getPortType()
          Get the port type this is a binding for.
 QName getQName()
          Get the name of this binding.
 boolean isUndefined()
           
 void setDocumentationElement(org.w3c.dom.Element docEl)
          Set the documentation element for this document.
 void setPortType(PortType portType)
          Set the port type this is a binding for.
 void setQName(QName name)
          Set the name of this binding.
 void setUndefined(boolean isUndefined)
           
 
Methods inherited from interface javax.wsdl.extensions.ElementExtensible
addExtensibilityElement, getExtensibilityElements
 

Method Detail

setQName

void setQName(QName name)
Set the name of this binding.

Parameters:
name - the desired name

getQName

QName getQName()
Get the name of this binding.

Returns:
the binding name

setPortType

void setPortType(PortType portType)
Set the port type this is a binding for.

Parameters:
portType - the port type associated with this binding

getPortType

PortType getPortType()
Get the port type this is a binding for.

Returns:
the associated port type

addBindingOperation

void addBindingOperation(BindingOperation bindingOperation)
Add an operation binding to binding.

Parameters:
bindingOperation - the operation binding to be added

getBindingOperation

BindingOperation getBindingOperation(java.lang.String name,
                                     java.lang.String inputName,
                                     java.lang.String outputName)
Get the specified operation binding. Note that operation names can be overloaded within a PortType. In case of overloading, the names of the input and output messages can be used to further refine the search.

Parameters:
name - the name of the desired operation binding.
inputName - the name of the input message; if this is null it will be ignored.
outputName - the name of the output message; if this is null it will be ignored.
Returns:
the corresponding operation binding, or null if there wasn't any matching operation binding

getBindingOperations

java.util.List getBindingOperations()
Get all the operation bindings defined here.


setDocumentationElement

void setDocumentationElement(org.w3c.dom.Element docEl)
Set the documentation element for this document. This dependency on org.w3c.dom.Element should eventually be removed when a more appropriate way of representing this information is employed.

Parameters:
docEl - the documentation element

getDocumentationElement

org.w3c.dom.Element getDocumentationElement()
Get the documentation element. This dependency on org.w3c.dom.Element should eventually be removed when a more appropriate way of representing this information is employed.

Returns:
the documentation element

setUndefined

void setUndefined(boolean isUndefined)

isUndefined

boolean isUndefined()


Copyright ? 2003,2005 IBM. All Rights Reserved.