This interface describes the methods that all preprocess handlers must implement:
init
Initializes the handler
public void init(Context context, Config handlerConfig) throws BCGReceiverException
applies
The handler returns true if it can process the request document. Otherwise it returns false.
public boolean applies(ReceiverDocumentInterface request) throws BCGReceiverException
process
Performs preprocessing. Returns an array of documents
public ReceiverDocumentInterface[] process( ReceiverDocumentInterface request) throws BCGReceiverException