org.apache.woden.wsdl20.xml

## Interface BindingFaultElement

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

      public interface BindingFaultElement
      extends DocumentableElement, NestedElement

  Represents the WSDL 2.0 <fault> element, declared as a child of the <binding> element.
  Author:
    John Kaputin (jkaputin@apache.org)

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `InterfaceFaultElement` | `getInterfaceFaultElement()` Return the InterfaceFaultElement referred to by this BindingFaultElement.
    `QName` | `getRef()` Return the name of the InterfaceFaultElement referred to by this BindingFaultElement.
    `void` | `setRef(QName faultName)` Specify the name of the InterfaceFaultElement referred to by this BindingFaultElement.

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

      Specify the name of the InterfaceFaultElement referred to by this BindingFaultElement. The specified QName corresponds to the `ref` attribute of the binding <fault> element.
      Parameters:
        `faultName` - the QName of the interface fault

    - #### getRef

          QName getRef()

      Return the name of the InterfaceFaultElement referred to by this BindingFaultElement. This corresponds to the `ref` attribute of the binding <fault> element.
      Returns:
        the QName of the interface fault

    - #### getInterfaceFaultElement

          InterfaceFaultElement getInterfaceFaultElement()

      Return the InterfaceFaultElement referred to by this BindingFaultElement. This equates to the interface <fault> element referred to by the `ref` attribute of the binding <fault> element. If this reference cannot be resolved to an InterfaceFaultElement, this method will return null.
      Returns:
        the InterfaceFaultElement

Copyright ? Apache Software Foundation. All Rights Reserved.