Class 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 Detail

      • RedefinedBuiltinPrefixValidator

        public RedefinedBuiltinPrefixValidator()
    • Method Detail

      • validate

        public ValidationError validate​(MappingSet ms)
        Description copied from interface: IMappingSetValidator
        Checks a mapping set for a possible post-parsing error.
        Specified by:
        validate in interface IMappingSetValidator
        Parameters:
        ms - The mapping set to check.
        Returns:
        An error code, or null if the set passes the test represented by this object.