Package de.isas.mztab2.io.validators
Class SoftwareValidator
- java.lang.Object
 - 
- de.isas.mztab2.io.validators.SoftwareValidator
 
 
- 
- All Implemented Interfaces:
 MetadataValidator<de.isas.mztab2.model.Metadata>
public class SoftwareValidator extends Object implements MetadataValidator<de.isas.mztab2.model.Metadata>
Validates that the software section is present in metadata and contains at least one item.- Author:
 - nilshoffmann
 
 
- 
- 
Constructor Summary
Constructors Constructor Description SoftwareValidator() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<uk.ac.ebi.pride.jmztab2.utils.errors.MZTabError>validateRefine(de.isas.mztab2.model.Metadata metadata, MZTabParserContext parserContext)Validate the given object of type T, using the provided parser context to check state of not yet completely parsed and constructed mzTab hierarchy. 
 - 
 
- 
- 
Constructor Detail
- 
SoftwareValidator
public SoftwareValidator()
 
 - 
 
- 
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:MetadataValidatorValidate 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:
 validateRefinein interfaceMetadataValidator<de.isas.mztab2.model.Metadata>- Parameters:
 metadata- the object to validateparserContext- the parser context- Returns:
 - a list of 
MZTabError, maybe empty. 
 
 - 
 
 -