Class RedefinedBuiltinPrefixValidator
- java.lang.Object
-
- org.incenp.obofoundry.sssom.checks.RedefinedBuiltinPrefixValidator
-
- All Implemented Interfaces:
IMappingSetValidator
public class RedefinedBuiltinPrefixValidator extends Object implements IMappingSetValidator
Checks that the curie map embedded in a mapping set does not redefine any of the prefixes that are considered “builtin” by the SSSOM specification.
-
-
Constructor Summary
Constructors Constructor Description RedefinedBuiltinPrefixValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValidationErrorvalidate(MappingSet ms)Checks a mapping set for a possible post-parsing error.
-
-
-
Method Detail
-
validate
public ValidationError validate(MappingSet ms)
Description copied from interface:IMappingSetValidatorChecks a mapping set for a possible post-parsing error.- Specified by:
validatein interfaceIMappingSetValidator- Parameters:
ms- The mapping set to check.- Returns:
- An error code, or
nullif the set passes the test represented by this object.
-
-