org.apache.woden.wsdl20.xml

## Interface BindingFaultReferenceElement

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

      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

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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`

    - ### 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

    - #### 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 an <infault> or <outfault> element of the interface operation being bound whose message label is equal to the effective message label of this binding fault reference and whose associated interface fault is identified by the `ref` attribute if this binding fault reference. If such an element does not exist, 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 ? Apache Software Foundation. All Rights Reserved.