Groovy Documentation

com.predic8.wsdl
[Groovy] Class Binding

java.lang.Object
  com.predic8.soamodel.XMLElement
      com.predic8.wsdl.WSDLElement
          com.predic8.wsdl.Binding

class Binding
extends WSDLElement

Field Summary
static JQName ELEMENTNAME

 
Fields inherited from class XMLElement
namespaces
 
Property Summary
AbstractBinding binding

List operations

PolicyReference policyReference

PortType portType

QName type

String typePN

 
Constructor Summary
Binding()

Binding(String name)

 
Method Summary
void create(AbstractCreator creator, CreatorContext ctx)

BindingOperation getOperation(String name)

Policy getPolicy()

PortType getPortType()

def getProtocol()

String getStyle()

Analyzes and returns the style/use attribute of the binding.

List getStyleErrors()

Returns a list of errors, if there are some in the binding style.

QName getType()

BindingOperation newBindingOperation(String name)

HTTPBinding newHTTPBinding()

SOAP11Binding newSOAP11Binding()

SOAP11Binding newSOAP11Binding(String style)

SOAP11Binding newSOAP11Binding(String transport, String style)

SOAP12Binding newSOAP12Binding()

protected def parseAttributes(def token, WSDLParserContext ctx)

protected def parseChildren(def token, def child, WSDLParserContext ctx)

void setType(PortType pt)

String toString()

 
Methods inherited from class WSDLElement
create, getElementName, getNamespaceUri, getPrefix, getQName, parseChildren
 
Methods inherited from class XMLElement
getElementName, getNamespace, getNamespaceContext, getNamespaceUri, getPrefix, getPrefix, getQNameForPN, getTypeQName, getTypeString, parse, parseAttributes, parseChildren, parseNamespaces, parseText
 

Field Detail

ELEMENTNAME

public static final JQName ELEMENTNAME


 
Property Detail

binding

AbstractBinding binding


operations

List operations


policyReference

PolicyReference policyReference


portType

PortType portType


type

QName type


typePN

String typePN


 
Constructor Detail

Binding

Binding()


Binding

Binding(String name)


 
Method Detail

create

void create(AbstractCreator creator, CreatorContext ctx)


getOperation

BindingOperation getOperation(String name)


getPolicy

Policy getPolicy()


getPortType

PortType getPortType()


getProtocol

def getProtocol()


getStyle

String getStyle()
Analyzes and returns the style/use attribute of the binding.
Returns:
The style/use combination of a WSDL binding as string


getStyleErrors

List getStyleErrors()
Returns a list of errors, if there are some in the binding style. Each error is a hash map.
Returns:
List of style errors.


getType

QName getType()


newBindingOperation

BindingOperation newBindingOperation(String name)


newHTTPBinding

HTTPBinding newHTTPBinding()


newSOAP11Binding

SOAP11Binding newSOAP11Binding()


newSOAP11Binding

SOAP11Binding newSOAP11Binding(String style)


newSOAP11Binding

SOAP11Binding newSOAP11Binding(String transport, String style)


newSOAP12Binding

SOAP12Binding newSOAP12Binding()


parseAttributes

protected def parseAttributes(def token, WSDLParserContext ctx)


parseChildren

protected def parseChildren(def token, def child, WSDLParserContext ctx)


setType

void setType(PortType pt)


toString

String toString()


 

Groovy Documentation