Class BaseTypedRepresentationConverterAbstract

A base TypedRepresentationConverter implementation for converters that can convert from all its input types to all its output types.

This base class handles the canHandle call by comparing the input content type to the stored input types and the output preferences to the stored output types.

Output weights are determined by multiplying all stored output weights with the weight of the input type.

Hierarchy

Constructors

Properties

inputTypes: Promise<ValuePreferences>
outputTypes: Promise<ValuePreferences>

Methods