Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.codehaus.xfire.service
Class FaultInfo

    java.lang.Object
      org.codehaus.xfire.service.MessagePartContainer
          org.codehaus.xfire.service.FaultInfo

All Implemented Interfaces:
  Visitable

    public class FaultInfo

extends MessagePartContainer
implements Visitable

Represents the description of a service operation fault.

Faults are created using the `OperationInfo.addFault(String)` method.

Author:
  Arjen Poutsma

Method Summary
`void` | `accept(Visitor visitor)` Acceps the given visitor.
`java.lang.String` | `getName()` Returns the name of the fault.
`void` | `setName(java.lang.String name)` Sets the name of the fault.

Methods inherited from class org.codehaus.xfire.service.MessagePartContainer
`addMessageHeader, addMessageHeader, addMessagePart, addMessagePart, getMessageHeader, getMessageHeaders, getMessagePart, getMessagePartIndex, getMessageParts, getOperation, removeMessageHeader, removeMessagePart`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### getName

    public java.lang.String getName()

  Returns the name of the fault.

  Returns:
    the name.

### setName

    public void setName(java.lang.String name)

  Sets the name of the fault.

  Parameters:
    `name` - the name.

### accept

    public void accept(Visitor visitor)

  Acceps the given visitor. Iterates over all message part infos.

  Specified by:
    `accept` in interface `Visitable`
  Parameters:
    `visitor` - the visitor.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004-2005 Codehaus. All Rights Reserved.