Package org.incenp.obofoundry.sssom
Interface IYAMLPreprocessor
-
- All Known Implementing Classes:
JsonLDConverter,LiteralProfileConverter,MatchTermTypeConverter,MatchTypeConverter,SemanticSimilarityConverter
public interface IYAMLPreprocessorAn interface for applying arbitrary treatments to a YAML-derived dictionary. This interface is intended to be used for updating the YAML-derived dictionary representing a SSSOM object in order to support old versions of the SSSOM specification. Implementations can take a dictionary that is conforming to an old version of the specification and transform it so that it is conforming to the current version.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidprocess(Map<String,Object> rawMap)Apply a treatment to the specified dictionary.
-
-
-
Method Detail
-
process
void process(Map<String,Object> rawMap) throws SSSOMFormatException
Apply a treatment to the specified dictionary.- Parameters:
rawMap- The dictionary to process.- Throws:
SSSOMFormatException- If the contents of the dictionary does not match the preprocessor's expectations.
-
-