public class BindingImpl extends AbstractWSDLElement implements Binding
| Modifier and Type | Field and Description |
|---|---|
protected List |
bindingOperations |
protected boolean |
isUndefined |
protected QName |
name |
protected List |
nativeAttributeNames |
protected PortType |
portType |
static long |
serialVersionUID |
docEl, extElements, extensionAttributesLIST_OF_QNAMES_TYPE, LIST_OF_STRINGS_TYPE, NO_DECLARED_TYPE, QNAME_TYPE, STRING_TYPE| Constructor and Description |
|---|
BindingImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addBindingOperation(BindingOperation bindingOperation)
Add an operation binding to binding.
|
BindingOperation |
getBindingOperation(String name,
String inputName,
String outputName)
Get the specified operation binding.
|
List |
getBindingOperations()
Get all the operation bindings defined here.
|
List |
getNativeAttributeNames()
Get the list of local attribute names defined for this element in
the WSDL specification.
|
PortType |
getPortType()
Get the port type this is a binding for.
|
QName |
getQName()
Get the name of this binding.
|
boolean |
isUndefined() |
BindingOperation |
removeBindingOperation(String name,
String inputName,
String outputName)
Remove the specified operation binding.
|
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) |
String |
toString() |
addExtensibilityElement, getDocumentationElement, getExtensibilityElements, getExtensionAttribute, getExtensionAttributes, removeExtensibilityElement, setDocumentationElement, setExtensionAttributeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDocumentationElement, setDocumentationElementgetExtensionAttribute, getExtensionAttributes, setExtensionAttributeaddExtensibilityElement, getExtensibilityElements, removeExtensibilityElementprotected QName name
protected PortType portType
protected List bindingOperations
protected List nativeAttributeNames
protected boolean isUndefined
public static final long serialVersionUID
public void setQName(QName name)
public QName getQName()
public void setPortType(PortType portType)
setPortType in interface BindingportType - the port type associated with this bindingpublic PortType getPortType()
getPortType in interface Bindingpublic void addBindingOperation(BindingOperation bindingOperation)
addBindingOperation in interface BindingbindingOperation - the operation binding to be addedpublic BindingOperation getBindingOperation(String name, String inputName, String outputName)
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).
getBindingOperation in interface Bindingname - 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.IllegalArgumentException - if duplicate operations are found.public List getBindingOperations()
getBindingOperations in interface Bindingpublic BindingOperation removeBindingOperation(String name, String inputName, String outputName)
Usage of the input and output message name parameters is as
described for the getBindingOperation method.
removeBindingOperation in interface Bindingname - 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.IllegalArgumentException - if duplicate operations are found.getBindingOperation(String, String, String)public void setUndefined(boolean isUndefined)
setUndefined in interface Bindingpublic boolean isUndefined()
isUndefined in interface Bindingpublic String toString()
toString in class AbstractWSDLElementpublic List getNativeAttributeNames()
getNativeAttributeNames in interface AttributeExtensibleCopyright © 2012 JBoss by Red Hat. All Rights Reserved.