ReceiverPostProcessHandlerInterface

This interface describes the three methods which all post-processing handlers must implement. They include:

Method

init

Method description

Initializes the handler by reading the configuration properties in the Config object

Syntax

public void init(Context context, Config handlerConfig)
              throws BCGReceiverException

Parameters

context
Runtime information such as temp directory path

handlerConfig
The object storing configuration information

Method

applies

Method description

Determines if handler can handle response document

Syntax

public boolean applies(ReceiverDocumentInterface response)
             throws BCGReceiverException

Parameters

response
The response document

Method

process

Method description

Performs post-processing on response document. Returns document array.

Syntax

public ReceiverDocumentInterface[] process(
                            ReceiverDocumentInterface response)
              throws BCGReceiverException

Parameters

response
The response document

Copyright IBM Corp. 2003, 2004