|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.epam.fix.validation.DummyMessageValidator
public class DummyMessageValidator
The dummy message validator implementation. This validator used instead of real validator.
Constructor Summary | |
---|---|
DummyMessageValidator()
|
Method Summary | |
---|---|
static MessageValidator |
getInstance()
|
void |
setContentValidation(boolean isContentValidation)
Sets the content validation flag. |
ValidationResult |
validate(FIXFieldList message)
Validates the message. |
void |
validate(FIXFieldList message,
ValidationResult result)
Validates the message. |
ValidationResult |
validateContent(String msgType,
FIXFieldList content)
Validates the content of message. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DummyMessageValidator()
Method Detail |
---|
public static MessageValidator getInstance()
public ValidationResult validateContent(String msgType, FIXFieldList content)
MessageValidator
validateContent
in interface MessageValidator
msgType
- the message typecontent
- the content of messagepublic void setContentValidation(boolean isContentValidation)
MessageValidator
setContentValidation
in interface MessageValidator
isContentValidation
- the content validation flagpublic ValidationResult validate(FIXFieldList message)
MessageValidator
validate
in interface MessageValidator
message
- the fix message
public void validate(FIXFieldList message, ValidationResult result)
MessageValidator
validate
in interface MessageValidator
message
- the ValidationResult object to avoid GCresult
- the fix message
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |