org.apache.woden.wsdl20.xml

## Interface BindingMessageReferenceElement

- All Superinterfaces:
    AttributeExtensible, DocumentableElement, ElementExtensible, NestedElement, WSDLElement

      public interface BindingMessageReferenceElement
      extends DocumentableElement, NestedElement

  Represents the WSDL 2.0 <input> and <output> elements, declared as child elements of the binding <operation> element.
  Author:
    John Kaputin (jkaputin@apache.org)

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Direction` | `getDirection()` Returns an enumerated type, Direction, that indicates the direction of this message.
    `InterfaceMessageReferenceElement` | `getInterfaceMessageReferenceElement()` Return the InterfaceMessageReferenceElement associated with this BindingMessageReferenceElement.
    `NCName` | `getMessageLabel()` Return the NCName representing the message label.
    `void` | `setDirection(Direction dir)` Set the message direction using the specified enumerated type, Direction, which indicates the direction of the message.
    `void` | `setMessageLabel(NCName msgLabel)` Set the message label to the specified NCName.

    - ### Methods inherited from interface org.apache.woden.wsdl20.xml.DocumentableElement

      `addDocumentationElement, getDocumentationElements`

    - ### Methods inherited from interface org.apache.woden.wsdl20.xml.NestedElement

      `getParentElement`

    - ### Methods inherited from interface org.apache.woden.wsdl20.xml.WSDLElement

      `addNamespace, getDeclaredNamespaces, getInScopeNamespaces, getNamespacePrefix, getNamespaceURI, removeNamespace`

    - ### Methods inherited from interface org.apache.woden.wsdl20.extensions.AttributeExtensible

      `getExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, hasExtensionAttributesForNamespace, setExtensionAttribute`

    - ### Methods inherited from interface org.apache.woden.wsdl20.extensions.ElementExtensible

      `addExtensionElement, getExtensionElements, getExtensionElementsOfType, hasExtensionElementsForNamespace, removeExtensionElement`

- - ### Method Detail

    - #### setDirection

          void setDirection(Direction dir)

      Set the message direction using the specified enumerated type, Direction, which indicates the direction of the message. Direction.IN corresponds to the binding operation <input> element. Direction.OUT corresponds to the binding operation <output> element.
      Parameters:
        `dir` - the Direction of the message

    - #### getDirection

          Direction getDirection()

      Returns an enumerated type, Direction, that indicates the direction of this message. Direction.IN corresponds to the binding operation <input> element. Direction.OUT corresponds to the binding operation <output> element.
      Returns:
        the Direction of the message

    - #### setMessageLabel

          void setMessageLabel(NCName msgLabel)

      Set the message label to the specified NCName. This corresponds to the `messageLabel` attribute of the binding operation <input> and <output> elements. It represents a placeholder message in the message exchange pattern specified by the parent binding <operation> element.
      Parameters:
        `msgLabel` - the NCName representing the message label

    - #### getMessageLabel

          NCName getMessageLabel()

      Return the NCName representing the message label. This corresponds to the `messageLabel` attribute of the binding operation <input> and <output> elements. It represents a placeholder message in the message exchange pattern specified by the parent binding <operation> element.
      Returns:
        NCName the message label

    - #### getInterfaceMessageReferenceElement

          InterfaceMessageReferenceElement getInterfaceMessageReferenceElement()

      Return the InterfaceMessageReferenceElement associated with this BindingMessageReferenceElement. This equates to an <input> or <output> element of the interface operation being bound whose message label is equal to the effective message label of this binding message reference. If such an element does not exist, this method will return null.
      Returns:
        the InterfaceMessageReferenceElement

Copyright ? Apache Software Foundation. All Rights Reserved.