Class FieldAllowedInMessageValidator
java.lang.Object
com.epam.fix.validation.engine.AbstractValidator
com.epam.fix.validation.engine.validators.FieldAllowedInMessageValidator
- All Implemented Interfaces:
IValidator
Implementation of IValidator that supports field allowed in message validation.
- Author:
- Serhiy_Zahriychuk Date: Sep 9, 2008
-
Field Summary
Fields inherited from class com.epam.fix.validation.engine.AbstractValidator
fixErrorBuilder, util
-
Constructor Summary
ConstructorsConstructorDescriptionCreates theFieldAllowedInMessageValidation
. -
Method Summary
Modifier and TypeMethodDescriptionvalidate
(String msgType, IValidationFIXMessage message, boolean isContentValidation) Method "validate" validates of FIX message and returns list of errors of validation process.Methods inherited from class com.epam.fix.validation.engine.AbstractValidator
getUtil, isHeader, isHeaderOrTrailer, isMessageTypeExist, isTrailer
-
Constructor Details
-
FieldAllowedInMessageValidator
Creates theFieldAllowedInMessageValidation
.- Parameters:
util
- of type FixUtils
-
-
Method Details
-
validate
public FIXErrorContainer validate(String msgType, IValidationFIXMessage message, boolean isContentValidation) Description copied from class:AbstractValidator
Method "validate" validates of FIX message and returns list of errors of validation process.- Specified by:
validate
in interfaceIValidator
- Specified by:
validate
in classAbstractValidator
- Parameters:
msgType
- Type of Message.message
- FIX Message.isContentValidation
- If true that is mean that will be validation only content of FIX message, without header or trailer.- Returns:
- List of errors of validation, if process of validationg is done successeful method returns empty list of errors.
-