Class DuplicatedFieldValidator

java.lang.Object
com.epam.fix.validation.engine.AbstractValidator
com.epam.fix.validation.engine.validators.DuplicatedFieldValidator
All Implemented Interfaces:
IValidator

public class DuplicatedFieldValidator extends AbstractValidator
Implementation of IValidator that supports duplicated field validation.
Author:
Serhiy_Zahriychuk, Volodymyr_Biloshkurskyi Date: Sep 9, 2008
  • Constructor Details

    • DuplicatedFieldValidator

      public DuplicatedFieldValidator(FIXUtil util)
      Cerates DuplicatedFieldValidator .
      Parameters:
      util - of type FixUtils
  • Method Details

    • 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:
    • validate2

      public FIXErrorContainer validate2(String msgType, ValidationFIXMessage fixMessage, boolean isContentValidation)