javax.wsdl

Interface Fault

All Superinterfaces:
java.io.Serializable, AttributeExtensible
Known Implementing Classes:
FaultImpl

public interface Fault
extends java.io.Serializable, AttributeExtensible

This interface represents a fault message, and contains the name of the fault and the message itself.
Author:
Matthew J. Duftler

Fields inherited from interface javax.wsdl.extensions.AttributeExtensible

LIST_OF_QNAMES_TYPE, LIST_OF_STRINGS_TYPE, NO_DECLARED_TYPE, QNAME_TYPE, STRING_TYPE

Method Summary

Element
getDocumentationElement()
Get the documentation element.
Message
getMessage()
String
getName()
Get the name of this fault message.
void
setDocumentationElement(Element docEl)
Set the documentation element for this document.
void
setMessage(Message message)
void
setName(String name)
Set the name of this fault message.

Methods inherited from interface javax.wsdl.extensions.AttributeExtensible

getExtensionAttribute, getExtensionAttributes, getNativeAttributeNames, setExtensionAttribute

Method Details

getDocumentationElement

public Element getDocumentationElement()
Get the documentation element. This dependency on org.w3c.dom.Element should eventually be removed when a more appropriate way of representing this information is employed.
Returns:
the documentation element

getMessage

public Message getMessage()

getName

public String getName()
Get the name of this fault message.
Returns:
the fault message name

setDocumentationElement

public void setDocumentationElement(Element docEl)
Set the documentation element for this document. This dependency on org.w3c.dom.Element should eventually be removed when a more appropriate way of representing this information is employed.
Parameters:
docEl - the documentation element

setMessage

public void setMessage(Message message)

setName

public void setName(String name)
Set the name of this fault message.
Parameters:
name - the desired name