|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl<E>
org.ow2.easywsdl.schema.api.abstractElmt.AbstractXMLElementImpl<E>
org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractWSDLElementImpl<E>
org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractBindingImpl<BindingType,InterfaceType,BindingOperation>
org.ow2.easywsdl.wsdl.impl.wsdl20.BindingImpl
public class BindingImpl
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.ow2.easywsdl.wsdl.api.abstractItf.AbsItfBinding |
---|
AbsItfBinding.BindingConstants, AbsItfBinding.StyleConstant |
Field Summary |
---|
Fields inherited from class org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractBindingImpl |
---|
bindingOperations, desc, itf |
Fields inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl |
---|
documentation, model, parent |
Constructor Summary | |
---|---|
BindingImpl(BindingType binding,
DescriptionImpl desc)
|
Method Summary | |
---|---|
void |
addBindingOperation(BindingOperation bindingOperation)
Add an operation binding to binding. |
BindingOperation |
createBindingOperation()
create binding operation |
java.lang.String |
getHttpContentEncodingDefault()
|
java.lang.String |
getHttpDefaultMethod()
|
java.lang.String |
getHttpQueryParameterSeparatorDefault()
|
java.util.List<org.w3c.dom.Element> |
getOtherElements()
Get all the extensibility elements defined here. |
javax.xml.namespace.QName |
getQName()
Get the name of this binding. |
AbsItfBinding.StyleConstant |
getStyle()
get style |
java.lang.String |
getTransportProtocol()
get the transport protocol |
AbsItfBinding.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. |
static BindingType |
replaceDOMElementByBindingType(WSDLElement parent,
org.w3c.dom.Element childToReplace,
WSDLReaderImpl reader)
|
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(java.lang.String transportProtocol)
set the transport protocol |
Methods inherited from class org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractBindingImpl |
---|
getBindingOperation, getBindingOperations, getDescription, getInterface |
Methods inherited from class org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractWSDLElementImpl |
---|
addOtherElements, createDocumentation, getDocumentation, getModel, getOtherAttributes, setDocumentation, toString |
Methods inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl |
---|
equals, getParent, getSchema, getTopParent, hashCode, setParent |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.ow2.easywsdl.wsdl.api.abstractItf.AbsItfBinding |
---|
getBindingOperation, getBindingOperations, getInterface |
Methods inherited from interface org.ow2.easywsdl.schema.api.XMLElement |
---|
addOtherElements |
Methods inherited from interface org.ow2.easywsdl.schema.api.SchemaElement |
---|
createDocumentation, equals, getDocumentation, getOtherAttributes, hashCode, setDocumentation |
Constructor Detail |
---|
public BindingImpl(BindingType binding, DescriptionImpl desc)
Method Detail |
---|
public void addBindingOperation(BindingOperation bindingOperation)
AbsItfBinding
addBindingOperation
in interface AbsItfBinding<InterfaceType,BindingOperation>
addBindingOperation
in class AbstractBindingImpl<BindingType,InterfaceType,BindingOperation>
bindingOperation
- the operation binding to be addedpublic javax.xml.namespace.QName getQName()
AbsItfBinding
getQName
in interface AbsItfBinding<InterfaceType,BindingOperation>
public BindingOperation removeBindingOperation(java.lang.String name)
AbsItfBinding
getBindingOperation
method.
removeBindingOperation
in interface AbsItfBinding<InterfaceType,BindingOperation>
name
- the name of the operation binding to be removed.AbsItfBinding.getBindingOperation(String)
public void setInterface(InterfaceType interfaceType)
AbsItfBinding
setInterface
in interface AbsItfBinding<InterfaceType,BindingOperation>
interfaceType
- the port type associated with this bindingpublic void setQName(javax.xml.namespace.QName name)
AbsItfBinding
setQName
in interface AbsItfBinding<InterfaceType,BindingOperation>
name
- the desired namepublic java.lang.String getTransportProtocol()
AbsItfBinding
getTransportProtocol
in interface AbsItfBinding<InterfaceType,BindingOperation>
public void setTransportProtocol(java.lang.String transportProtocol)
AbsItfBinding
setTransportProtocol
in interface AbsItfBinding<InterfaceType,BindingOperation>
transportProtocol
- TODOpublic AbsItfBinding.StyleConstant getStyle()
AbsItfBinding
getStyle
in interface AbsItfBinding<InterfaceType,BindingOperation>
public AbsItfBinding.BindingConstants getTypeOfBinding()
AbsItfBinding
getTypeOfBinding
in interface AbsItfBinding<InterfaceType,BindingOperation>
public java.lang.String getVersion()
AbsItfBinding
getVersion
in interface AbsItfBinding<InterfaceType,BindingOperation>
public java.lang.String getHttpContentEncodingDefault()
getHttpContentEncodingDefault
in interface AbsItfBinding<InterfaceType,BindingOperation>
public java.lang.String getHttpDefaultMethod()
getHttpDefaultMethod
in interface AbsItfBinding<InterfaceType,BindingOperation>
public java.lang.String getHttpQueryParameterSeparatorDefault()
getHttpQueryParameterSeparatorDefault
in interface AbsItfBinding<InterfaceType,BindingOperation>
public boolean isHttpCookies()
isHttpCookies
in interface AbsItfBinding<InterfaceType,BindingOperation>
public java.util.List<org.w3c.dom.Element> getOtherElements() throws org.ow2.easywsdl.schema.api.XmlException
AbstractWSDLElementImpl
getOtherElements
in interface org.ow2.easywsdl.schema.api.XMLElement
getOtherElements
in class AbstractWSDLElementImpl<BindingType>
org.ow2.easywsdl.schema.api.XmlException
public BindingOperation createBindingOperation()
AbsItfBinding
createBindingOperation
in interface AbsItfBinding<InterfaceType,BindingOperation>
public static BindingType replaceDOMElementByBindingType(WSDLElement parent, org.w3c.dom.Element childToReplace, WSDLReaderImpl reader) throws WSDLException
WSDLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |