public interface SwiftMessageValidator
Modifier and Type | Method and Description |
---|---|
boolean |
validate(java.lang.String message,
boolean enableNetworkRulesValidation)
Method which validates the Swift message.
|
boolean |
validateMessageBlock4(java.lang.String block4,
int messageType,
boolean enableNetworkRulesValidation)
Method which validates only the block 4 of a Swift MT message.
|
boolean |
validateWithMessageType(java.lang.String message,
int messageType,
boolean enableNetworkRulesValidation)
Method which validates the Swift message.
|
boolean validate(java.lang.String message, boolean enableNetworkRulesValidation)
message
- a String which contains the Swift MT message.enableNetworkRulesValidation
- boolean which indicates whether NetworkRulesValidation should be carried
out or not for the swift message.boolean validateWithMessageType(java.lang.String message, int messageType, boolean enableNetworkRulesValidation)
message
- a String which contains the Swift MT message.messageType
- Type of the Swift message. e.g: 100, 564, 103enableNetworkRulesValidation
- boolean which indicates whether NetworkRulesValidation should be carried
out or not for the swift message.boolean validateMessageBlock4(java.lang.String block4, int messageType, boolean enableNetworkRulesValidation)
block4
- a String which contains the block 4 of a Swift MT message.messageType
- Type of the Swift message. e.g: 100, 564, 103enableNetworkRulesValidation
- boolean which indicates whether NetworkRulesValidation should be carried
out or not for the swift message.