com.epam.fix.validation
Interface MessageValidator

All Known Implementing Classes:
DummyMessageValidator

public interface MessageValidator

The message validator interface.


Method Summary
 void setContentValidation(boolean isContentValidation)
          Sets the content validation flag.
 ValidationResult validate(FIXFieldList message)
          Validates the message.
 void validate(FIXFieldList message, ValidationResult result)
          Validates the message.
 ValidationResult validateContent(String msgType, FIXFieldList content)
          Validates the content of message.
 

Method Detail

validate

ValidationResult validate(FIXFieldList message)
Validates the message.

Parameters:
message - the fix message
Returns:
the result contains the errors collection if it exists.

validate

void validate(FIXFieldList message,
              ValidationResult result)
Validates the message.

Parameters:
message - the ValidationResult object to avoid GC
result - the fix message

validateContent

ValidationResult validateContent(String msgType,
                                 FIXFieldList content)
Validates the content of message.

Parameters:
msgType - the message type
content - the content of message

setContentValidation

void setContentValidation(boolean isContentValidation)
Sets the content validation flag.

Parameters:
isContentValidation - the content validation flag


Copyright © 2000-2014 EPAM Systems. All Rights Reserved.