protected void initValidator ( ) throws SQLException , IOException { EmblEntryValidationPlanProperty emblEntryValidationPlanProperty = new EmblEntryValidationPlanProperty ( ) ; emblEntryValidationPlanProperty . validationScope . set ( ValidationScope . getScope ( fileType ) ) ; emblEntryValidationPlanProperty . isDevMode . set ( testMode ) ; emblEntryValidationPlanProperty . isFixMode . set ( fixMode || fixDiagnoseMode ) ; emblEntryValidationPlanProperty . minGapLength . set ( min_gap_length ) ; emblEntryValidationPlanProperty . isRemote . set ( remote ) ; emblEntryValidationPlanProperty . fileType . set ( fileType ) ; emblEntryValidationPlanProperty . enproConnection . set ( con ) ; emblValidator = new EmblEntryValidationPlan ( emblEntryValidationPlanProperty ) ; emblValidator . addMessageBundle ( ValidationMessageManager . STANDARD_VALIDATION_BUNDLE ) ; emblValidator . addMessageBundle ( ValidationMessageManager . STANDARD_FIXER_BUNDLE ) ; gff3Validator = new GFF3ValidationPlan ( emblEntryValidationPlanProperty ) ; gff3Validator . addMessageBundle ( ValidationMessageManager . GFF3_VALIDATION_BUNDLE ) ; gaValidator = new GenomeAssemblyValidationPlan ( emblEntryValidationPlanProperty ) ; gaValidator . addMessageBundle ( ValidationMessageManager . GENOMEASSEMBLY_VALIDATION_BUNDLE ) ; gaValidator . addMessageBundle ( ValidationMessageManager . GENOMEASSEMBLY_FIXER_BUNDLE ) ; initWriters ( ) ; }
Inits the validator .