com.ibm.wsdl

Class BindingImpl

public class BindingImpl extends Object implements Binding

This class 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

Field Summary
protected ListbindingOperations
protected ElementdocEl
protected ListextElements
protected booleanisUndefined
protected QNamename
protected PortTypeportType
static longserialVersionUID
Method Summary
voidaddBindingOperation(BindingOperation bindingOperation)
Add an operation binding to binding.
voidaddExtensibilityElement(ExtensibilityElement extElement)
Add an extensibility element.
BindingOperationgetBindingOperation(String name, String inputName, String outputName)
Get the specified operation binding.
ListgetBindingOperations()
Get all the operation bindings defined here.
ElementgetDocumentationElement()
Get the documentation element.
ListgetExtensibilityElements()
Get all the extensibility elements defined here.
PortTypegetPortType()
Get the port type this is a binding for.
QNamegetQName()
Get the name of this binding.
booleanisUndefined()
voidsetDocumentationElement(Element docEl)
Set the documentation element for this document.
voidsetPortType(PortType portType)
Set the port type this is a binding for.
voidsetQName(QName name)
Set the name of this binding.
voidsetUndefined(boolean isUndefined)
StringtoString()

Field Detail

bindingOperations

protected List bindingOperations

docEl

protected Element docEl

extElements

protected List extElements

isUndefined

protected boolean isUndefined

name

protected QName name

portType

protected PortType portType

serialVersionUID

public static final long serialVersionUID

Method Detail

addBindingOperation

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

Parameters: bindingOperation the operation binding to be added

addExtensibilityElement

public void addExtensibilityElement(ExtensibilityElement extElement)
Add an extensibility element.

Parameters: extElement the extensibility element to be added

getBindingOperation

public BindingOperation getBindingOperation(String name, String inputName, 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

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

getDocumentationElement

public 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

getExtensibilityElements

public List getExtensibilityElements()
Get all the extensibility elements defined here.

getPortType

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

Returns: the associated port type

getQName

public QName getQName()
Get the name of this binding.

Returns: the binding name

isUndefined

public boolean isUndefined()

setDocumentationElement

public void setDocumentationElement(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

setPortType

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

Parameters: portType the port type associated with this binding

setQName

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

Parameters: name the desired name

setUndefined

public void setUndefined(boolean isUndefined)

toString

public String toString()
Copyright © 2003,2005 IBM. All Rights Reserved.