org.codehaus.xfire.service
Interface Visitor


public interface Visitor

Defines the contract for classes that iterate over the *Info classes. Used to recurse into ServiceInfo, OperationInfo, MessageInfo, etc.

Note that implementations of this interface are not required to recurse themselves; instead, this is handled by the various vistable implementations.

Author:
Arjen Poutsma
See Also:
Visitable

Method Summary
 void endEndpoint(Service endpoint)
          Receive notatification of the end of a endpoint visit.
 void endFault(FaultInfo faultInfo)
          Receive notification at the end of a fault visit.
 void endMessage(MessageInfo messageInfo)
          Receive notification at the end of a message visit.
 void endMessagePart(MessagePartInfo messagePartInfo)
          Receive notification at the end of a message part visit.
 void endOperation(OperationInfo operationInfo)
          Receive notification at the end of a operation visit.
 void endService(ServiceInfo serviceInfo)
          Receive notatification of the end of a service visit.
 void startEndpoint(Service endpoint)
          Receive notification at the beginning of a endpoint visit.
 void startFault(FaultInfo faultInfo)
          Receive notification at the beginning of a fault visit.
 void startMessage(MessageInfo messageInfo)
          Receive notification at the beginning of a message visit.
 void startMessagePart(MessagePartInfo messagePartInfo)
          Receive notification at the beginning of a message part visit.
 void startOperation(OperationInfo operationInfo)
          Receive notification at the beginning of a operation visit.
 void startService(ServiceInfo serviceInfo)
          Receive notification at the beginning of a service visit.
 

Method Detail

startEndpoint

public void startEndpoint(Service endpoint)
Receive notification at the beginning of a endpoint visit.

Parameters:
endpoint - the service endpoint.

endEndpoint

public void endEndpoint(Service endpoint)
Receive notatification of the end of a endpoint visit.

Parameters:
endpoint -

startService

public void startService(ServiceInfo serviceInfo)
Receive notification at the beginning of a service visit.

Parameters:
serviceInfo - the service.

endService

public void endService(ServiceInfo serviceInfo)
Receive notatification of the end of a service visit.

Parameters:
serviceInfo -

startOperation

public void startOperation(OperationInfo operationInfo)
Receive notification at the beginning of a operation visit.

Parameters:
operationInfo - the operation.

endOperation

public void endOperation(OperationInfo operationInfo)
Receive notification at the end of a operation visit.

Parameters:
operationInfo - the operation.

startMessage

public void startMessage(MessageInfo messageInfo)
Receive notification at the beginning of a message visit.

Parameters:
messageInfo - the message.

endMessage

public void endMessage(MessageInfo messageInfo)
Receive notification at the end of a message visit.

Parameters:
messageInfo - the message.

startFault

public void startFault(FaultInfo faultInfo)
Receive notification at the beginning of a fault visit.

Parameters:
faultInfo - the fault.

endFault

public void endFault(FaultInfo faultInfo)
Receive notification at the end of a fault visit.

Parameters:
faultInfo - the fault.

startMessagePart

public void startMessagePart(MessagePartInfo messagePartInfo)
Receive notification at the beginning of a message part visit.

Parameters:
messagePartInfo - the message part info.

endMessagePart

public void endMessagePart(MessagePartInfo messagePartInfo)
Receive notification at the end of a message part visit.

Parameters:
messagePartInfo - the message part info.


Copyright © 2004-2006 null. All Rights Reserved.