org.apache.woden.internal.wsdl20
Class BindingMessageReferenceImpl
java.lang.Object
org.apache.woden.internal.wsdl20.WSDLElementImpl
org.apache.woden.internal.wsdl20.WSDLObjectImpl
org.apache.woden.internal.wsdl20.DocumentableImpl
org.apache.woden.internal.wsdl20.NestedImpl
org.apache.woden.internal.wsdl20.BindingMessageReferenceImpl
- All Implemented Interfaces:
- AttributeExtensible, BindingMessageReference, BindingMessageReferenceElement, DocumentableElement, ElementExtensible, NestedComponent, NestedElement, WSDLComponent, WSDLElement
- public class BindingMessageReferenceImpl
- extends NestedImpl
- implements BindingMessageReference, BindingMessageReferenceElement
This class represents the BindingMessageReference component of the
WSDL 2.0 Component model and the <input> and <output>
child elements of a WSDL binding <operation>.
- Author:
- jkaputin@apache.org
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BindingMessageReferenceImpl
public BindingMessageReferenceImpl()
getInterfaceMessageReference
public InterfaceMessageReference getInterfaceMessageReference()
- Description copied from interface:
BindingMessageReference
- Returns an InterfaceMessageReference representing the {interface message reference}
property of the BindingMessageReference component. That is, the interface message
reference that this binding message reference provides concrete bindings for.
- Specified by:
getInterfaceMessageReference
in interface BindingMessageReference
- Returns:
- an InterfaceMessageReference bound by this BindingMessageReference
toElement
public BindingMessageReferenceElement toElement()
- Description copied from interface:
BindingMessageReference
- Returns a WSDLElement that represents the element information item from the WSDL 2.0
infoset that maps to this WSDLComponent.
- Specified by:
toElement
in interface BindingMessageReference
- Returns:
- the BindingMessageReferenceElement that maps to this BindingMessageReference
setDirection
public void setDirection(Direction dir)
- Description copied from interface:
BindingMessageReferenceElement
- 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.
- Specified by:
setDirection
in interface BindingMessageReferenceElement
- Parameters:
dir
- the Direction of the message
getDirection
public Direction getDirection()
- Description copied from interface:
BindingMessageReferenceElement
- 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.
- Specified by:
getDirection
in interface BindingMessageReferenceElement
- Returns:
- the Direction of the message
setMessageLabel
public void setMessageLabel(NCName msgLabel)
- Description copied from interface:
BindingMessageReferenceElement
- 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.
- Specified by:
setMessageLabel
in interface BindingMessageReferenceElement
- Parameters:
msgLabel
- the NCName representing the message label
getMessageLabel
public NCName getMessageLabel()
- Description copied from interface:
BindingMessageReferenceElement
- 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.
- Specified by:
getMessageLabel
in interface BindingMessageReferenceElement
- Returns:
- NCName the message label
Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.