org.codehaus.xfire.service
Class MessageInfo

java.lang.Object
  extended byorg.codehaus.xfire.service.MessagePartContainer
      extended byorg.codehaus.xfire.service.MessageInfo
All Implemented Interfaces:
Visitable

public class MessageInfo
extends MessagePartContainer
implements Visitable

Represents the description of a service operation message.

Messages are created using the OperationInfo.createMessage(javax.xml.namespace.QName) method.

Author:
Arjen Poutsma

Method Summary
 void accept(Visitor visitor)
          Acceps the given visitor.
 javax.xml.namespace.QName getName()
          Returns the qualified name of the message info.
 void setName(javax.xml.namespace.QName name)
          Sets the qualified name of the message info.
 
Methods inherited from class org.codehaus.xfire.service.MessagePartContainer
addMessagePart, addMessagePart, getMessagePart, getMessagePartIndex, getMessageParts, getOperation, removeMessagePart, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public javax.xml.namespace.QName getName()
Returns the qualified name of the message info.

Returns:
the name.

setName

public void setName(javax.xml.namespace.QName name)
Sets the qualified name of the message info.

Parameters:
name - the qualified 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.


Copyright © 2004-2006 null. All Rights Reserved.