public abstract class AbstractValidator extends Object implements IValidator
Modifier and Type | Field and Description |
---|---|
protected static FIXErrorBuilder |
fixErrorBuilder |
protected FIXUtil |
util |
Modifier | Constructor and Description |
---|---|
protected |
AbstractValidator(FIXUtil util) |
Modifier and Type | Method and Description |
---|---|
FIXUtil |
getUtil()
Gets fix util.
|
protected boolean |
isHeader(int tag) |
protected boolean |
isHeaderOrTrailer(int tag) |
protected boolean |
isMessageTypeExist(String msgType) |
protected boolean |
isTrailer(int tag) |
abstract FIXErrorContainer |
validate(String msgType,
IValidationFIXMessage fixMessage,
boolean isContentValidation)
Method "validate" validates of FIX message and returns list of errors of validation process.
|
protected FIXUtil util
protected static FIXErrorBuilder fixErrorBuilder
protected AbstractValidator(FIXUtil util)
public abstract FIXErrorContainer validate(String msgType, IValidationFIXMessage fixMessage, boolean isContentValidation)
validate
in interface IValidator
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.protected boolean isHeader(int tag)
protected boolean isTrailer(int tag)
protected boolean isHeaderOrTrailer(int tag)
protected boolean isMessageTypeExist(String msgType)
public FIXUtil getUtil()
Copyright © 2000–2022 EPAM Systems. All rights reserved.