org.apache.woden.wsdl20
Interface Binding

All Superinterfaces:
PropertyExtensible, WSDLComponent
All Known Implementing Classes:
BindingImpl

public interface Binding
extends WSDLComponent

Represents the Binding component from the WSDL 2.0 Component model.

Author:
John Kaputin (jkaputin@apache.org)

Method Summary
 BindingFault[] getBindingFaults()
          Represents the {binding faults} property of the Binding component.
 BindingOperation[] getBindingOperations()
          Represents the {binding operations} property of the Binding component.
 Interface getInterface()
          Represents the {interface} property of the Binding component.
 QName getName()
          Returns a QName representing the {name} property of the Binding component.
 java.net.URI getType()
          Returns a URI representing the {type} property of the Binding component.
 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 interface org.apache.woden.wsdl20.WSDLComponent
equals, getComponentExtensionContext, getFragmentIdentifier, setComponentExtensionContext, toString
 
Methods inherited from interface org.apache.woden.wsdl20.extensions.PropertyExtensible
getExtensionProperties, getExtensionProperties, getExtensionProperty
 

Method Detail

getName

QName getName()
Returns a QName representing the {name} property of the Binding component.

Returns:
QName the qualified name of the Binding

getInterface

Interface getInterface()
Represents the {interface} property of the Binding component. This is the Interface component that this Binding defines concrete bindings for. For an 'interface-less' or 'generic' binding, this method will return null.

Returns:
Interface for which bindings are provided by this Binding

getType

java.net.URI getType()
Returns a URI representing the {type} property of the Binding component.

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".

Returns:
URI representing the binding type

getBindingFaults

BindingFault[] getBindingFaults()
Represents the {binding faults} property of the Binding component. This is the set of binding faults declared by this binding. The method will return an empty array if there are no binding faults.

Returns:
an array of BindingFault objects

getBindingOperations

BindingOperation[] getBindingOperations()
Represents the {binding operations} property of the Binding component. This is the set of binding operations declared by this binding. The method will return an empty array if there are no binding operations.

Returns:
an array of BindingOperation objects

toElement

BindingElement toElement()
Returns a WSDLElement that represents the element information item from the WSDL 2.0 infoset that maps to this WSDLComponent.

Returns:
the BindingElement that maps to this Binding


Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.