javax.wsdl
Interface Fault

All Superinterfaces:
java.io.Serializable

public interface Fault
extends java.io.Serializable

This interface represents a fault message, and contains the name of the fault and the message itself.

Component:
WSDL-API interfaces

Method Summary
 org.w3c.dom.Element getDocumentationElement()
          Get the documentation element.
 Message getMessage()
           
 java.lang.String getName()
          Get the name of this fault message.
 void setDocumentationElement(org.w3c.dom.Element docEl)
          Set the documentation element for this document.
 void setMessage(Message message)
           
 void setName(java.lang.String name)
          Set the name of this fault message.
 

Method Detail

setName

public void setName(java.lang.String name)
Set the name of this fault message.

Parameters:
name - the desired name

getName

public java.lang.String getName()
Get the name of this fault message.

Returns:
the fault message name

setMessage

public void setMessage(Message message)

getMessage

public Message getMessage()

setDocumentationElement

public void setDocumentationElement(org.w3c.dom.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

getDocumentationElement

public org.w3c.dom.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