Class LiteralProfileConverter
java.lang.Object
org.incenp.obofoundry.sssom.compatibility.LiteralProfileConverter
- All Implemented Interfaces:
IYAMLPreprocessor
A YAML preprocessor to convert
literal* slots.
For a time, the SSSOM specification half-defined a "literal profile",
intended for mappings between a literal and an entity. That profile has
several literal-specific slots. In SSSOM 1.0, this profile has been removed
and replaced by a convention that literal subjects are represented by storing
the literal in the subject_label slot and setting the
subject_type slot to rdfs literal.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LiteralProfileConverter
public LiteralProfileConverter()
-
-
Method Details
-
process
Description copied from interface:IYAMLPreprocessorApply a treatment to the specified dictionary.- Specified by:
processin interfaceIYAMLPreprocessor- Parameters:
rawMap- The dictionary to process.- Throws:
SSSOMFormatException- If the contents of the dictionary does not match the preprocessor's expectations.
-