Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
com.ibm.wsdl.AbstractWSDLElement
com.ibm.wsdl.BindingImpl
Field Summary | |
protected List | |
protected boolean | |
protected QName | |
protected List | |
protected PortType | |
static long |
Fields inherited from class com.ibm.wsdl.AbstractWSDLElement | |
docEl , extElements , extensionAttributes |
Fields inherited from interface javax.wsdl.extensions.AttributeExtensible | |
LIST_OF_QNAMES_TYPE , LIST_OF_STRINGS_TYPE , NO_DECLARED_TYPE , QNAME_TYPE , STRING_TYPE |
Method Summary | |
void |
|
BindingOperation |
|
List |
|
List |
|
PortType |
|
QName |
|
boolean | |
BindingOperation |
|
void |
|
void | |
void |
|
String |
|
Methods inherited from class com.ibm.wsdl.AbstractWSDLElement | |
addExtensibilityElement , getDocumentationElement , getExtensibilityElements , getExtensionAttribute , getExtensionAttributes , removeExtensibilityElement , setDocumentationElement , setExtensionAttribute , toString |
protected List bindingOperations
protected boolean isUndefined
protected List nativeAttributeNames
public static final long serialVersionUID
- Field Value:
- 1L
public void addBindingOperation(BindingOperation bindingOperation)
Add an operation binding to binding.
- Specified by:
- addBindingOperation in interface Binding
- Parameters:
bindingOperation
- the operation binding to be added
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. The search criteria will be the operation name parameter and any non-null input or output message name parameters. To exclude the input or output message name from the search criteria, specify a null value for the input or output message name parameter. To search for operations with unnamed input or output messages (i.e. <input> or <output> elements with the 'name' attribute omitted), specify the string ":none
" for the input or output message name parameter. Note: the use of a string value ":none
" rather than null to search for unnamed input or output messages is necessary to retain backward compatibility with earlier versions of the JWSDL API, which defined a null value to mean 'ignore this parameter'. The colon in ":none
" is to avoid name clashes with input or output message names, which must be of type NCName (i.e. they cannot contain colons).
- Specified by:
- getBindingOperation in interface Binding
- Parameters:
name
- the name of the desired operation binding.inputName
- the name of the input message; if this is null it will be ignored, if this is ":none
" it means search for an input message without a name.outputName
- the name of the output message; if this is null it will be ignored, if this is ":none
" it means search for an output message without a name.
- Returns:
- the corresponding operation binding, or null if there wasn't any matching operation binding
public List getBindingOperations()
Get all the operation bindings defined here.
- Specified by:
- getBindingOperations in interface Binding
public List getNativeAttributeNames()
Get the list of local attribute names defined for this element in the WSDL specification.
- Specified by:
- getNativeAttributeNames in interface AttributeExtensible
- Returns:
- a List of Strings, one for each local attribute name
public PortType getPortType()
Get the port type this is a binding for.
- Specified by:
- getPortType in interface Binding
- Returns:
- the associated port type
public BindingOperation removeBindingOperation(String name, String inputName, String outputName)
Remove 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. Usage of the input and output message name parameters is as described for thegetBindingOperation
method.
- Specified by:
- removeBindingOperation in interface Binding
- Parameters:
name
- the name of the operation binding to be removed.inputName
- the name of the input message; if this is null it will be ignored, if this is ":none
" it means search for an input message without a name.outputName
- the name of the output message; if this is null it will be ignored, if this is ":none
" it means search for an output message without a name.
- Returns:
- the binding operation which was removed, or null if there wasn't any matching operation
public void setPortType(PortType portType)
Set the port type this is a binding for.
- Specified by:
- setPortType in interface Binding
- Parameters:
portType
- the port type associated with this binding
public void setQName(QName name)
Set the name of this binding.
- Parameters:
name
- the desired name
public void setUndefined(boolean isUndefined)
- Specified by:
- setUndefined in interface Binding