public class BindingImpl extends WSDLComponentImpl implements Binding, BindingElement, EdBinding
| Constructor and Description |
|---|
BindingImpl() |
| Modifier and Type | Method and Description |
|---|---|
EdBindingFault |
addBindingFault() |
BindingFaultElement |
addBindingFaultElement()
Create a BindingFaultElement with this BindingElement as its parent and
return a reference to it.
|
EdBindingOperation |
addBindingOperation() |
BindingOperationElement |
addBindingOperationElement()
Create a BindingOperationElement with this BindingElement as its parent and
return a reference to it.
|
BindingFaultElement[] |
getBindingFaultElements()
Return the set of BindingFaultElements within this BindingElement.
|
BindingFaultElement |
getBindingFaultElementWithRef(QName qname) |
BindingFault[] |
getBindingFaults()
Represents the {binding faults} property of the Binding component.
|
BindingOperationElement[] |
getBindingOperationElements()
Return the set of BindingOperationElements within this BindingElement
This equates to the set of <operation> elements within the <binding> element.
|
BindingOperationElement |
getBindingOperationElementWithRef(QName qname) |
BindingOperation[] |
getBindingOperations()
Represents the {binding operations} property of the Binding component.
|
Description |
getDescriptionComponent() |
FragmentIdentifier |
getFragmentIdentifier()
Returns the fragment identifier for this WSDL 2.0 component.
|
Interface |
getInterface()
Represents the {interface} property of the Binding component.
|
InterfaceElement |
getInterfaceElement()
Return the InterfaceElement referred to by this BindingElement.
|
QName |
getInterfaceName()
Return the name of the InterfaceElement referred to by this BindingElement.
|
QName |
getName()
Returns a QName representing the {name} property of the Binding component.
|
WSDLElement |
getParentElement() |
URI |
getType()
Returns a URI representing the {type} property of the Binding component.
|
void |
setInterface(Interface interfaceComp) |
void |
setInterfaceName(QName qname)
Specify the name of the InterfaceElement referred to by this BindingElement.
|
void |
setName(NCName name)
Set the name of this BindingElement to the specified NCName.
|
void |
setName(QName name) |
void |
setType(URI type)
Set the binding type to the specified URI.
|
BindingElement |
toElement()
Returns a WSDLElement that represents the element information item from the WSDL 2.0
infoset that maps to this WSDLComponent.
|
containsComponent, equals, getComponentExtensionContext, getExtensionProperties, getExtensionProperties, getExtensionProperty, isEquivalentTo, setComponentExtensionContext, toStringaddDocumentationElement, getDocumentationElementsaddExtensionElement, addNamespace, getDeclaredNamespaces, getExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, getExtensionElements, getExtensionElementsOfType, getInScopeNamespaces, getNamespacePrefix, getNamespaceURI, hasExtensionAttributesForNamespace, hasExtensionElementsForNamespace, removeExtensionElement, removeNamespace, setExtensionAttributeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddDocumentationElement, getDocumentationElementsaddNamespace, getDeclaredNamespaces, getInScopeNamespaces, getNamespacePrefix, getNamespaceURI, removeNamespacegetExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, hasExtensionAttributesForNamespace, setExtensionAttributeaddExtensionElement, getExtensionElements, getExtensionElementsOfType, hasExtensionElementsForNamespace, removeExtensionElementequals, getComponentExtensionContext, isEquivalentTo, setComponentExtensionContext, toStringgetExtensionProperties, getExtensionProperties, getExtensionPropertypublic QName getName()
BindinggetName in interface BindinggetName in interface BindingElementpublic Interface getInterface()
BindinggetInterface in interface Bindingpublic URI getType()
Binding
For example:
For a SOAP binding this will be the uri "http://www.w3.org/ns/wsdl/soap".
For an HTTP binding this will be the uri "http://www.w3.org/ns/wsdl/http".
getType in interface BindinggetType in interface BindingElementpublic BindingFault[] getBindingFaults()
BindinggetBindingFaults in interface Bindingpublic BindingOperation[] getBindingOperations()
BindinggetBindingOperations in interface Bindingpublic BindingElement toElement()
Bindingpublic void setName(NCName name)
BindingElementname attribute of the <binding> element.setName in interface BindingElementname - the NCName that represents this binding.public void setInterfaceName(QName qname)
BindingElementinterface attribute of the <binding> element.setInterfaceName in interface BindingElementqname - the QName of the interfacepublic QName getInterfaceName()
BindingElementinterface attribute of the <binding> element.getInterfaceName in interface BindingElementpublic InterfaceElement getInterfaceElement()
BindingElementinterface
attribute of the <binding> element.
If this reference cannot be resolved to an InterfaceElement or if this BindingElement
is a generic (interface-less) binding, this method will return null.getInterfaceElement in interface BindingElementpublic void setType(URI type)
BindingElementtype attribute of the <binding> element.setType in interface EdBindingsetType in interface BindingElementtype - the URI indicating the binding typepublic BindingFaultElement addBindingFaultElement()
BindingElementaddBindingFaultElement in interface BindingElementpublic BindingFaultElement[] getBindingFaultElements()
BindingElementgetBindingFaultElements in interface BindingElementpublic BindingOperationElement addBindingOperationElement()
BindingElementaddBindingOperationElement in interface BindingElementpublic BindingOperationElement[] getBindingOperationElements()
BindingElementgetBindingOperationElements in interface BindingElementpublic WSDLElement getParentElement()
getParentElement in interface NestedElementpublic BindingFaultElement getBindingFaultElementWithRef(QName qname)
public BindingOperationElement getBindingOperationElementWithRef(QName qname)
public Description getDescriptionComponent()
public FragmentIdentifier getFragmentIdentifier()
WSDLComponentgetFragmentIdentifier in interface WSDLComponentpublic EdBindingFault addBindingFault()
addBindingFault in interface EdBindingpublic EdBindingOperation addBindingOperation()
addBindingOperation in interface EdBindingpublic void setInterface(Interface interfaceComp)
setInterface in interface EdBindingCopyright © 2005–2019 Apache Software Foundation. All rights reserved.