org.apache.woden.wsdl20.xml
Interface InterfaceFaultElement

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

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
 org.apache.ws.commons.schema.XmlSchemaElement getElement()
          Return the XmlSchemaElement representing the global schema element declaration referred to by this InterfaceFaultElement.
 QName getElementName()
          Return the name 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.
 void setElementName(QName elementName)
          Specify the name 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, 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

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

setElementName

void setElementName(QName elementName)
Specify the name 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 QName of the element declaration

getElementName

QName getElementName()
Return the name of the global schema element declaration referred to by this InterfaceFaultElement. This corresponds to the element attribute of the interface <fault> element.

Returns:
the QName of the element declaration

getElement

org.apache.ws.commons.schema.XmlSchemaElement getElement()
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 © 2007. All Rights Reserved.