public class BindingImpl extends WSDLComponentImpl implements Binding, BindingElement
Constructor and Description |
---|
BindingImpl() |
Modifier and Type | Method and Description |
---|---|
BindingFaultElement |
addBindingFaultElement()
Create a BindingFaultElement with this BindingElement as its parent and
return a reference to it.
|
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 |
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 |
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, toString
addDocumentationElement, getDocumentationElements
addExtensionElement, addNamespace, getDeclaredNamespaces, getExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, getExtensionElements, getExtensionElementsOfType, getInScopeNamespaces, getNamespacePrefix, getNamespaceURI, hasExtensionAttributesForNamespace, hasExtensionElementsForNamespace, removeExtensionElement, removeNamespace, setExtensionAttribute
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
equals, getComponentExtensionContext, isEquivalentTo, setComponentExtensionContext, toString
getExtensionProperties, getExtensionProperties, getExtensionProperty
addDocumentationElement, getDocumentationElements
addNamespace, getDeclaredNamespaces, getInScopeNamespaces, getNamespacePrefix, getNamespaceURI, removeNamespace
getExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, hasExtensionAttributesForNamespace, setExtensionAttribute
addExtensionElement, getExtensionElements, getExtensionElementsOfType, hasExtensionElementsForNamespace, removeExtensionElement
public QName getName()
Binding
getName
in interface Binding
getName
in interface BindingElement
public Interface getInterface()
Binding
getInterface
in interface Binding
public 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 Binding
getType
in interface BindingElement
public BindingFault[] getBindingFaults()
Binding
getBindingFaults
in interface Binding
public BindingOperation[] getBindingOperations()
Binding
getBindingOperations
in interface Binding
public BindingElement toElement()
Binding
public void setName(NCName name)
BindingElement
name
attribute of the <binding> element.setName
in interface BindingElement
name
- the NCName that represents this binding.public void setInterfaceName(QName qname)
BindingElement
interface
attribute of the <binding> element.setInterfaceName
in interface BindingElement
qname
- the QName of the interfacepublic QName getInterfaceName()
BindingElement
interface
attribute of the <binding> element.getInterfaceName
in interface BindingElement
public InterfaceElement getInterfaceElement()
BindingElement
interface
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 BindingElement
public void setType(URI type)
BindingElement
type
attribute of the <binding> element.setType
in interface BindingElement
type
- the URI indicating the binding typepublic BindingFaultElement addBindingFaultElement()
BindingElement
addBindingFaultElement
in interface BindingElement
public BindingFaultElement[] getBindingFaultElements()
BindingElement
getBindingFaultElements
in interface BindingElement
public BindingOperationElement addBindingOperationElement()
BindingElement
addBindingOperationElement
in interface BindingElement
public BindingOperationElement[] getBindingOperationElements()
BindingElement
getBindingOperationElements
in interface BindingElement
public WSDLElement getParentElement()
getParentElement
in interface NestedElement
public BindingFaultElement getBindingFaultElementWithRef(QName qname)
public BindingOperationElement getBindingOperationElementWithRef(QName qname)
public Description getDescriptionComponent()
public FragmentIdentifier getFragmentIdentifier()
WSDLComponent
getFragmentIdentifier
in interface WSDLComponent
Copyright © 2005–2013 Apache Software Foundation. All rights reserved.