javax.wsdl
Interface Fault

All Superinterfaces:
AttributeExtensible, java.io.Serializable
All 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

Field Summary
 
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
 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.
 
Methods inherited from interface javax.wsdl.extensions.AttributeExtensible
getExtensionAttribute, getExtensionAttributes, getNativeAttributeNames, setExtensionAttribute
 

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


Copyright ? 2003 IBM. All Rights Reserved.