|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.woden.internal.wsdl20.WSDLElementImpl
org.apache.woden.internal.wsdl20.WSDLObjectImpl
org.apache.woden.internal.wsdl20.DocumentableImpl
org.apache.woden.internal.wsdl20.BindingImpl
This class represents the Binding component from the WSDL 2.0 Component Model and the WSDL <binding> element.
Constructor Summary | |
BindingImpl()
|
Method Summary | |
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()
|
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()
|
java.net.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 |
setParentElement(WSDLElement parent)
|
void |
setType(java.net.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. |
Methods inherited from class org.apache.woden.internal.wsdl20.DocumentableImpl |
addDocumentationElement, getDocumentationElements |
Methods inherited from class org.apache.woden.internal.wsdl20.WSDLObjectImpl |
containsComponent, equals, getComponentExtensionsForNamespace, setComponentExtensions |
Methods inherited from class org.apache.woden.internal.wsdl20.WSDLElementImpl |
addExtensionElement, getExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, getExtensionElements, getExtensionElementsOfType, hasExtensionAttributesForNamespace, hasExtensionElementsForNamespace, removeExtensionElement, setExtensionAttribute |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.woden.wsdl20.WSDLComponent |
equals, getComponentExtensionsForNamespace |
Methods inherited from interface org.apache.woden.wsdl20.xml.DocumentableElement |
addDocumentationElement, getDocumentationElements |
Methods inherited from interface org.apache.woden.wsdl20.extensions.AttributeExtensible |
getExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, hasExtensionAttributesForNamespace, setExtensionAttribute |
Methods inherited from interface org.apache.woden.wsdl20.extensions.ElementExtensible |
addExtensionElement, getExtensionElements, getExtensionElementsOfType, hasExtensionElementsForNamespace, removeExtensionElement |
Constructor Detail |
public BindingImpl()
Method Detail |
public QName getName()
Binding
getName
in interface Binding
public Interface getInterface()
Binding
getInterface
in interface Binding
public java.net.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
public BindingFault[] getBindingFaults()
Binding
getBindingFaults
in interface Binding
public BindingOperation[] getBindingOperations()
Binding
getBindingOperations
in interface Binding
public BindingElement toElement()
Binding
toElement
in interface 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(java.net.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 void setParentElement(WSDLElement parent)
setParentElement
in interface NestedElement
public WSDLElement getParentElement()
getParentElement
in interface NestedElement
public BindingFaultElement getBindingFaultElementWithRef(QName qname)
public BindingOperationElement getBindingOperationElementWithRef(QName qname)
public Description getDescriptionComponent()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |