Package com.epam.fix.validation
Class FailedMessageValidator
java.lang.Object
com.epam.fix.validation.FailedMessageValidator
- All Implemented Interfaces:
MessageValidator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetContentValidation(boolean isContentValidation) Sets the content validation flag.validate(FIXFieldList message) Validates the message.voidvalidate(FIXFieldList message, ValidationResult result) Validates the message.validateContent(String msgType, FIXFieldList content) Validates the content of message.
-
Constructor Details
-
FailedMessageValidator
-
-
Method Details
-
validateContent
Description copied from interface:MessageValidatorValidates the content of message.- Specified by:
validateContentin interfaceMessageValidator- Parameters:
msgType- the message typecontent- the content of message
-
setContentValidation
public void setContentValidation(boolean isContentValidation) Description copied from interface:MessageValidatorSets the content validation flag.- Specified by:
setContentValidationin interfaceMessageValidator- Parameters:
isContentValidation- the content validation flag
-
validate
Description copied from interface:MessageValidatorValidates the message.- Specified by:
validatein interfaceMessageValidator- Parameters:
message- the fix message- Returns:
- the result contains the errors collection if it exists.
-
validate
Description copied from interface:MessageValidatorValidates the message.- Specified by:
validatein interfaceMessageValidator- Parameters:
message- the ValidationResult object to avoid GCresult- the fix message
-