com.ebmwebsourcing.commons.wsdl.impl.wsdl11
Class BindingImpl

java.lang.Object
  extended by com.ebmwebsourcing.commons.wsdl.api.abstractElmt.AbstractWSDLElementImpl<E>
      extended by com.ebmwebsourcing.commons.wsdl.api.abstractElmt.AbstractBindingImpl<TBinding>
          extended by com.ebmwebsourcing.commons.wsdl.impl.wsdl11.BindingImpl
All Implemented Interfaces:
Binding, WSDLElement, java.io.Serializable

public class BindingImpl
extends AbstractBindingImpl<TBinding>
implements Binding

Author:
Nicolas Salatge - eBM WebSourcing
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.ebmwebsourcing.commons.wsdl.api.Binding
Binding.BindingConstants, Binding.StyleConstant
 
Field Summary
 
Fields inherited from class com.ebmwebsourcing.commons.wsdl.api.abstractElmt.AbstractBindingImpl
bindingOperations, desc, itf
 
Fields inherited from class com.ebmwebsourcing.commons.wsdl.api.abstractElmt.AbstractWSDLElementImpl
documentation, model
 
Constructor Summary
BindingImpl(TBinding binding, DescriptionImpl desc)
           
 
Method Summary
 void addBindingOperation(BindingOperation bindingOperation)
          Add an operation binding to binding.
 java.lang.String getHttpContentEncodingDefault()
           
 java.lang.String getHttpDefaultMethod()
           
 java.lang.String getHttpQueryParameterSeparatorDefault()
           
 javax.xml.namespace.QName getQName()
          Get the name of this binding.
 Binding.StyleConstant getStyle()
          get style
 java.lang.String getTransportProtocol()
          get the transport protocol
 Binding.BindingConstants getTypeOfBinding()
          get type of binding
 java.lang.String getVersion()
          get the version of soap binding
 boolean isHttpCookies()
           
 BindingOperation removeBindingOperation(java.lang.String name)
          Remove the specified operation binding.
 void setInterface(InterfaceType interfaceType)
          Set the port type this is a binding for.
 void setQName(javax.xml.namespace.QName name)
          Set the name of this binding.
 void setTransportProtocol()
          set the transport protocol
 
Methods inherited from class com.ebmwebsourcing.commons.wsdl.api.abstractElmt.AbstractBindingImpl
getBindingOperation, getBindingOperations, getDescription, getInterface
 
Methods inherited from class com.ebmwebsourcing.commons.wsdl.api.abstractElmt.AbstractWSDLElementImpl
createDocumentation, createElementFromString, getDocumentation, getModel, getOtherAttributes, getOtherElements, setDocumentation, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ebmwebsourcing.commons.wsdl.api.Binding
getBindingOperation, getBindingOperations, getInterface
 
Methods inherited from interface com.ebmwebsourcing.commons.wsdl.api.WSDLElement
createDocumentation, getDocumentation, getOtherAttributes, getOtherElements, setDocumentation
 

Constructor Detail

BindingImpl

public BindingImpl(TBinding binding,
                   DescriptionImpl desc)
Method Detail

addBindingOperation

public void addBindingOperation(BindingOperation bindingOperation)
Description copied from interface: Binding
Add an operation binding to binding.

Specified by:
addBindingOperation in interface Binding
Overrides:
addBindingOperation in class AbstractBindingImpl<TBinding>
Parameters:
bindingOperation - the operation binding to be added

getQName

public javax.xml.namespace.QName getQName()
Description copied from interface: Binding
Get the name of this binding.

Specified by:
getQName in interface Binding
Returns:
the binding name

removeBindingOperation

public BindingOperation removeBindingOperation(java.lang.String name)
Description copied from interface: Binding
Remove the specified operation binding. Note that operation names can be overloaded within a PortType. Usage of the input and output message name parameters is as described for the getBindingOperation method.

Specified by:
removeBindingOperation in interface Binding
Parameters:
name - the name of the operation binding to be removed.
See Also:
Binding.getBindingOperation(String)

setInterface

public void setInterface(InterfaceType interfaceType)
Description copied from interface: Binding
Set the port type this is a binding for.

Specified by:
setInterface in interface Binding
Parameters:
interfaceType - the port type associated with this binding

setQName

public void setQName(javax.xml.namespace.QName name)
Description copied from interface: Binding
Set the name of this binding.

Specified by:
setQName in interface Binding
Parameters:
name - the desired name

getTransportProtocol

public java.lang.String getTransportProtocol()
Description copied from interface: Binding
get the transport protocol

Specified by:
getTransportProtocol in interface Binding

setTransportProtocol

public void setTransportProtocol()
Description copied from interface: Binding
set the transport protocol

Specified by:
setTransportProtocol in interface Binding

getStyle

public Binding.StyleConstant getStyle()
Description copied from interface: Binding
get style

Specified by:
getStyle in interface Binding

getTypeOfBinding

public Binding.BindingConstants getTypeOfBinding()
Description copied from interface: Binding
get type of binding

Specified by:
getTypeOfBinding in interface Binding

getVersion

public java.lang.String getVersion()
Description copied from interface: Binding
get the version of soap binding

Specified by:
getVersion in interface Binding
Returns:

getHttpContentEncodingDefault

public java.lang.String getHttpContentEncodingDefault()
Specified by:
getHttpContentEncodingDefault in interface Binding

getHttpDefaultMethod

public java.lang.String getHttpDefaultMethod()
Specified by:
getHttpDefaultMethod in interface Binding

getHttpQueryParameterSeparatorDefault

public java.lang.String getHttpQueryParameterSeparatorDefault()
Specified by:
getHttpQueryParameterSeparatorDefault in interface Binding

isHttpCookies

public boolean isHttpCookies()
Specified by:
isHttpCookies in interface Binding


Copyright © 2008 eBM WebSourcing. All Rights Reserved.