DataValue
objects.
This package describes the general structure for renderer and renderer
families of DataValue. Generally, each
{@link org.knime.core.data.DataValue DataValue}
implementation can define its own set of renderer. These renderer
are accumulated in a DataValueRendererFamily.
Here is what you should do if you implement your own
DataValue and make one or more renderer available for it:
DataValueRenderer interface. (You might consider to
derive from DefaultDataValueRenderer).
DataValueRendererFamily that either
uses singletons of the renderers above or creates them on
request. As before: it is probably useful to extend the default
implementation, i.e. DefaultDataValueRendererFamily.
Such a family is responsible to handle multiple different
renderers.
DataValue implementation
available as described in the
manual
methode getNativeRenderer() and return your newly
created renderer family therein.