org.ow2.easywsdl.wsdl.decorator
Class DecoratorBindingImpl<I extends AbsItfInterfaceType,BO extends AbsItfBindingOperation>

java.lang.Object
  extended by org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl<E>
      extended by org.ow2.easywsdl.schema.api.abstractElmt.AbstractXMLElementImpl<E>
          extended by org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractWSDLElementImpl
              extended by org.ow2.easywsdl.wsdl.decorator.DecoratorBindingImpl<I,BO>
All Implemented Interfaces:
java.io.Serializable, org.ow2.easywsdl.schema.api.SchemaElement, org.ow2.easywsdl.schema.api.XMLElement, WSDLElement, Decorator

public class DecoratorBindingImpl<I extends AbsItfInterfaceType,BO extends AbsItfBindingOperation>
extends AbstractWSDLElementImpl
implements Decorator

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

Field Summary
protected  AbsItfBinding<I,BO> binding
           
 
Fields inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
documentation, model, parent
 
Constructor Summary
DecoratorBindingImpl(AbsItfBinding<I,BO> binding)
           
 
Method Summary
 void addBindingOperation(BO arg0)
           
 BO createBindingOperation()
           
 org.ow2.easywsdl.schema.api.Documentation createDocumentation()
          Create the documentation element.
 BO getBindingOperation(java.lang.String arg0)
           
 java.util.List<BO> getBindingOperations()
           
 org.ow2.easywsdl.schema.api.Documentation getDocumentation()
          Get the documentation.
 java.lang.String getHttpContentEncodingDefault()
           
 java.lang.String getHttpDefaultMethod()
           
 java.lang.String getHttpQueryParameterSeparatorDefault()
           
 I getInterface()
           
 WSDLElement getInternalObject()
           
 java.lang.Object getModel()
           
 java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
          Get the map containing all the attributes defined on this element.
 java.util.List<org.w3c.dom.Element> getOtherElements()
          Get all the extensibility elements defined here.
 org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl getParent()
           
 javax.xml.namespace.QName getQName()
           
 AbsItfBinding.StyleConstant getStyle()
           
 java.lang.String getTransportProtocol()
           
 AbsItfBinding.BindingConstants getTypeOfBinding()
           
 java.lang.String getVersion()
           
 boolean isHttpCookies()
           
 BO removeBindingOperation(java.lang.String arg0)
           
 void setDocumentation(org.ow2.easywsdl.schema.api.Documentation arg0)
          Set the documentation for this document.
 void setInterface(I arg0)
           
 void setQName(javax.xml.namespace.QName arg0)
           
 void setTransportProtocol(java.lang.String transportProtocol)
           
 
Methods inherited from class org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractWSDLElementImpl
addOtherElements, toString
 
Methods inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
getSchema, getTopParent, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

binding

protected AbsItfBinding<I extends AbsItfInterfaceType,BO extends AbsItfBindingOperation> binding
Constructor Detail

DecoratorBindingImpl

public DecoratorBindingImpl(AbsItfBinding<I,BO> binding)
                     throws WSDLException
Throws:
WSDLException
Method Detail

addBindingOperation

public void addBindingOperation(BO arg0)

getBindingOperation

public BO getBindingOperation(java.lang.String arg0)

getBindingOperations

public java.util.List<BO> getBindingOperations()

getHttpContentEncodingDefault

public java.lang.String getHttpContentEncodingDefault()

getHttpDefaultMethod

public java.lang.String getHttpDefaultMethod()

getHttpQueryParameterSeparatorDefault

public java.lang.String getHttpQueryParameterSeparatorDefault()

getInterface

public I getInterface()

getQName

public javax.xml.namespace.QName getQName()

getStyle

public AbsItfBinding.StyleConstant getStyle()

getTransportProtocol

public java.lang.String getTransportProtocol()

getTypeOfBinding

public AbsItfBinding.BindingConstants getTypeOfBinding()

getVersion

public java.lang.String getVersion()

isHttpCookies

public boolean isHttpCookies()

removeBindingOperation

public BO removeBindingOperation(java.lang.String arg0)

setInterface

public void setInterface(I arg0)

setQName

public void setQName(javax.xml.namespace.QName arg0)

setTransportProtocol

public void setTransportProtocol(java.lang.String transportProtocol)
                          throws WSDLException
Throws:
WSDLException

createDocumentation

public org.ow2.easywsdl.schema.api.Documentation createDocumentation()
Description copied from class: AbstractWSDLElementImpl
Create the documentation element.

Specified by:
createDocumentation in interface org.ow2.easywsdl.schema.api.SchemaElement
Overrides:
createDocumentation in class AbstractWSDLElementImpl
Returns:
the documentation element

getDocumentation

public org.ow2.easywsdl.schema.api.Documentation getDocumentation()
Description copied from class: AbstractWSDLElementImpl
Get the documentation.

Specified by:
getDocumentation in interface org.ow2.easywsdl.schema.api.SchemaElement
Overrides:
getDocumentation in class AbstractWSDLElementImpl
Returns:
the documentation element

getOtherAttributes

public java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
                                                                             throws org.ow2.easywsdl.schema.api.XmlException
Description copied from class: AbstractWSDLElementImpl
Get the map containing all the attributes defined on this element. The keys are the qnames of the attributes.

Specified by:
getOtherAttributes in interface org.ow2.easywsdl.schema.api.SchemaElement
Overrides:
getOtherAttributes in class AbstractWSDLElementImpl
Returns:
a map containing all the attributes defined on this element
Throws:
org.ow2.easywsdl.schema.api.XmlException

getOtherElements

public java.util.List<org.w3c.dom.Element> getOtherElements()
                                                     throws org.ow2.easywsdl.schema.api.XmlException
Description copied from class: AbstractWSDLElementImpl
Get all the extensibility elements defined here.

Specified by:
getOtherElements in interface org.ow2.easywsdl.schema.api.XMLElement
Overrides:
getOtherElements in class AbstractWSDLElementImpl
Throws:
org.ow2.easywsdl.schema.api.XmlException

setDocumentation

public void setDocumentation(org.ow2.easywsdl.schema.api.Documentation arg0)
Description copied from class: AbstractWSDLElementImpl
Set the documentation for this document.

Specified by:
setDocumentation in interface org.ow2.easywsdl.schema.api.SchemaElement
Overrides:
setDocumentation in class AbstractWSDLElementImpl

createBindingOperation

public BO createBindingOperation()

getModel

public java.lang.Object getModel()
Overrides:
getModel in class AbstractWSDLElementImpl

getParent

public org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl getParent()
Overrides:
getParent in class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl

getInternalObject

public WSDLElement getInternalObject()
Specified by:
getInternalObject in interface Decorator


Copyright © 2008-2009 Petals Link (previously EBM WebSourcing). All Rights Reserved.