Package de.isas.mztab2.io.validators
Interface RefiningValidator<T>
-
- Type Parameters:
T
- the type of the parsed object to validate.
- All Known Implementing Classes:
AssayValidator
,CvValidator
,DatabaseValidator
,MsRunValidator
,MzTabIdValidator
,MzTabVersionValidator
,QuantificationMethodValidator
,SmallMoleculeFeatureQuantificationUnitValidator
,SmallMoleculeIdConfidenceMeasureValidator
,SmallMoleculeQuantificationUnitValidator
,SoftwareValidator
,StudyVariableValidator
public interface RefiningValidator<T>
Implementations of the refining validator are applied to the type object after the actual line parsing process, for post-hoc validation. This may happen before the actual mzTab object has been fully constructed. Implementations will therefor receive the current parser context, too.- Author:
- nilshoffmann
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default List<MZTabError>
validateRefine(T t, 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.
-
-
-
Method Detail
-
validateRefine
default List<MZTabError> validateRefine(T t, 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.- Parameters:
t
- the object to validateparserContext
- the parser context- Returns:
- a list of
MZTabError
, maybe empty.
-
-