org.apache.woden.wsdl20.xml
Interface BindingFaultReferenceElement

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

public interface BindingFaultReferenceElement
extends DocumentableElement, NestedElement

Represents the WSDL 2.0 <infault> and <outfault> elements, declared as child elements of the binding <operation> element.

Author:
John Kaputin (jkaputin@apache.org)

Method Summary
 InterfaceFaultReferenceElement getInterfaceFaultReferenceElement()
          Return the InterfaceFaultReferenceElement referred to by this BindingFaultReferenceElement.
 NCName getMessageLabel()
          Return the NCName representing the message label.
 QName getRef()
          Return the name of the InterfaceFaultReferenceElement referred to by this BindingFaultReferenceElement.
 void setMessageLabel(NCName msgLabel)
          Set the message label to the specified NCName.
 void setRef(QName faultRefName)
          Specify the name of the InterfaceFaultReferenceElement referred to by this BindingFaultReferenceElement.
 
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

setRef

void setRef(QName faultRefName)
Specify the name of the InterfaceFaultReferenceElement referred to by this BindingFaultReferenceElement. The specified QName corresponds to the ref attribute of the binding operation <infault> or <outfault> element.

Parameters:
faultRefName - the QName of the interface fault reference.

getRef

QName getRef()
Return the name of the InterfaceFaultReferenceElement referred to by this BindingFaultReferenceElement. This corresponds to the ref attribute of the binding operation <infault> or <outfault> element.

Returns:
the QName of the interface fault reference

getInterfaceFaultReferenceElement

InterfaceFaultReferenceElement getInterfaceFaultReferenceElement()
Return the InterfaceFaultReferenceElement referred to by this BindingFaultReferenceElement. This equates to the interface operation <infault> or <outfault> element referred to by the ref attribute of the binding operation <infault> or <outfault> element. If this reference cannot be resolved to an InterfaceFaultReferenceElement, this method will return null.

Returns:
the InterfaceFaultReferenceElement

setMessageLabel

void setMessageLabel(NCName msgLabel)
Set the message label to the specified NCName. This corresponds to 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 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.