org.apache.woden.internal.wsdl20
Class BindingMessageReferenceImpl
java.lang.Object
org.apache.woden.internal.wsdl20.WSDLElementImpl
org.apache.woden.internal.wsdl20.DocumentableImpl
org.apache.woden.internal.wsdl20.WSDLComponentImpl
org.apache.woden.internal.wsdl20.NestedImpl
org.apache.woden.internal.wsdl20.BindingMessageReferenceImpl
- All Implemented Interfaces:
- BindingMessageReference, AttributeExtensible, ElementExtensible, PropertyExtensible, NestedComponent, WSDLComponent, BindingMessageReferenceElement, DocumentableElement, NestedElement, 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 org.apache.woden.internal.wsdl20.WSDLElementImpl |
addExtensionElement, addNamespace, getDeclaredNamespaces, getExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, getExtensionElements, getExtensionElementsOfType, getInScopeNamespaces, getNamespacePrefix, getNamespaceURI, hasExtensionAttributesForNamespace, hasExtensionElementsForNamespace, removeExtensionElement, removeNamespace, setExtensionAttribute |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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
getInterfaceMessageReferenceElement
public InterfaceMessageReferenceElement getInterfaceMessageReferenceElement()
- Description copied from interface:
BindingMessageReferenceElement
- 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.
- Specified by:
getInterfaceMessageReferenceElement
in interface BindingMessageReferenceElement
- Returns:
- the InterfaceMessageReferenceElement
getFragmentIdentifier
public FragmentIdentifier getFragmentIdentifier()
- Description copied from interface:
WSDLComponent
- Returns the fragment identifier for this WSDL 2.0 component.
- Specified by:
getFragmentIdentifier
in interface WSDLComponent
- Returns:
- a FragmentIdentifier for this WSDL 2.0 component.
Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.