org.apache.woden.wsdl20.xml
Interface BindingMessageReferenceElement

All Superinterfaces:
AttributeExtensible, DocumentableElement, ElementExtensible, NestedElement, WSDLElement
All Known Implementing Classes:
BindingMessageReferenceImpl

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
 Direction getDirection()
          Returns an enumerated type, Direction, that indicates the direction of this message.
 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, setParentElement
 
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


Copyright © 2007. All Rights Reserved.