com.epam.fix.validation.engine.validators
Class ConditionalValidator
java.lang.Object
com.epam.fix.validation.engine.AbstractValidator
com.epam.fix.validation.engine.validators.ConditionalValidator
- All Implemented Interfaces:
- IValidator
public class ConditionalValidator
- extends AbstractValidator
Implementation of IValidator that supports conditional validation.
- Author:
- Serhiy_Zahriychuk
Date: Sep 22, 2008
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConditionalValidator
public ConditionalValidator(FIXUtil util)
- Creates the
ConditionalValidator
.
- Parameters:
util
- the fixutil
validate
public FIXErrorContainer validate(String msgType,
IValidationFIXMessage fixMessage,
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 interface IValidator
- Specified by:
validate
in class AbstractValidator
- Parameters:
msgType
- Type of Message.fixMessage
- 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.
- See Also:
AbstractValidator
validateConditionalTags
protected void validateConditionalTags(Map<Integer,ICondition> conditionMap,
ValidationFIXMessage fixMessage,
FIXFieldList fixFieldList,
boolean fromGroup,
FIXErrorContainer errors)
Copyright © 2000-2014 EPAM Systems. All Rights Reserved.