Class CvValidator

  • All Implemented Interfaces:
    MetadataValidator<de.isas.mztab2.model.Metadata>

    public class CvValidator
    extends Object
    implements MetadataValidator<de.isas.mztab2.model.Metadata>
    Validates that the controlled vocabulary section is present in metadata and that it is correctly populated.
    Author:
    nilshoffmann
    • Method Detail

      • validateRefine

        public List<uk.ac.ebi.pride.jmztab2.utils.errors.MZTabError> validateRefine​(de.isas.mztab2.model.Metadata metadata,
                                                                                    MZTabParserContext parserContext)
        Description copied from interface: MetadataValidator
        Validate the given object of type T, using the provided parser context to check state of not yet completely parsed and constructed mzTab hierarchy.
        Specified by:
        validateRefine in interface MetadataValidator<de.isas.mztab2.model.Metadata>
        Parameters:
        metadata - the object to validate
        parserContext - the parser context
        Returns:
        a list of MZTabError, maybe empty.