org.apache.woden.wsdl20.xml

## Interface InterfaceFaultElement

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

      public interface InterfaceFaultElement
      extends DocumentableElement, NestedElement

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

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `QNameTokenUnion` | `getElement()` Return the union of the xs:token and xs:QName of the global schema element declaration referred to by this InterfaceFaultElement.
    `QName` | `getName()` Return the qualified name of this InterfaceFaultElement, which consists of its local name and the targetNamespace of the enclosing DescriptionElement.
    `org.apache.ws.commons.schema.XmlSchemaElement` | `getXmlSchemaElement()` Return the XmlSchemaElement representing the global schema element declaration referred to by this InterfaceFaultElement.
    `void` | `setElement(QNameTokenUnion elementName)` Specify the union of the xs:token and xs:QName of the global schema element declaration referred to by this InterfaceFaultElement.
    `void` | `setName(NCName name)` Set the name of this InterfaceFaultElement to the specified NCName.

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

    - #### setName

          void setName(NCName name)

      Set the name of this InterfaceFaultElement to the specified NCName. This corresponds to the `name` attribute of the interface <fault> element.
      Parameters:
        `name` - the NCName that represents the local name of this interface fault

    - #### getName

          QName getName()

      Return the qualified name of this InterfaceFaultElement, which consists of its local name and the targetNamespace of the enclosing DescriptionElement.
      Returns:
        the interface fault QName

    - #### setElement

          void setElement(QNameTokenUnion elementName)

      Specify the union of the xs:token and xs:QName of the global schema element declaration referred to by this InterfaceFaultElement. The specified QName corresponds to the `element` attribute of the interface <fault> element.
      Parameters:
        `elementName` - the QNameTokenUnion of the element declaration

    - #### getElement

          QNameTokenUnion getElement()

      Return the union of the xs:token and xs:QName of the global schema element declaration referred to by this InterfaceFaultElement. This corresponds to the `element` attribute of the interface <fault> element.
      Returns:
        the QNameTokenUnion of the element declaration

    - #### getXmlSchemaElement

          org.apache.ws.commons.schema.XmlSchemaElement getXmlSchemaElement()

      Return the XmlSchemaElement representing the global schema element declaration referred to by this InterfaceFaultElement. This equates to the <xs:element> element referred to by the `element` attribute of the interface <fault> element. If this reference cannot be resolved to an element declaration in a schema that is visible to the enclosing <description>, this method will return null. To be visible, the schema must have been correctly imported or inlined within the <types> element.
      Returns:
        the XmlSchemaElement

Copyright ? Apache Software Foundation. All Rights Reserved.