Package org.incenp.obofoundry.sssom
Interface IYAMLPreprocessor
- All Known Implementing Classes:
JsonLDConverter
,LiteralProfileConverter
,MatchTermTypeConverter
,MatchTypeConverter
,SemanticSimilarityConverter
public interface IYAMLPreprocessor
An 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
-
Method Details
-
process
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.
-