Class MessageWelformedValidator

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

public class MessageWelformedValidator extends AbstractValidator
Implementation of IValidator that supports message welformed validate. Returns non-null on the first (if any) match.
Author:
Serhiy_Zahriychuk Date: Oct 22, 2008
  • Constructor Details

    • MessageWelformedValidator

      public MessageWelformedValidator(FIXUtil util)
  • 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 interface IValidator
      Specified by:
      validate in class AbstractValidator
      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.