S
- Java type which can be converted by the JavaToDataCellConverter
s created by this factorypublic interface JavaToDataCellConverterFactory<S>
JavaToDataCellConverters
.
You may extend this class and register the derived class under the extension point
"org.knime.core.JavaToDataCellConverter". It is recommended that you extend
SimpleJavaToDataCellConverterFactory
if possible.org.knime.core.data.convert
,
JavaToDataCellConverter
,
JavaToDataCellConverterRegistry
Modifier and Type | Method and Description |
---|---|
JavaToDataCellConverter<S> |
create(ExecutionContext context)
Create an instance of a
JavaToDataCellConverter which is able to convert instances of S into
DataCells with the DataType returned by getDestinationType() . |
DataType |
getDestinationType()
Get the
DataType (the type of data cells ) which converters created by this factory are
able to convert into |
String |
getIdentifier()
Get the identifier for this factory.
|
default String |
getName()
A human readable name for this converter factory to be displayed in user interfaces for example.
|
Class<S> |
getSourceType()
Get the
Class of the type which converters created by this factory are able to convert |
JavaToDataCellConverter<S> create(ExecutionContext context)
JavaToDataCellConverter
which is able to convert instances of S
into
DataCells
with the DataType
returned by getDestinationType()
.context
- ExecutionContext
which may be used for creating CellFactory
s.JavaToDataCellConverter
instancesDataType getDestinationType()
DataType
(the type of data cells
) which converters created by this factory are
able to convert intoDataCell
created by the JavaToDataCellConverter
s produced by this
factory.Class<S> getSourceType()
Class
of the type which converters created by this factory are able to convertDataCellToJavaConverter
s can convertdefault String getName()
Examples: "InputStream", "Integer", "XML String", "SDF String"
sString getIdentifier()
Examples:
"org.mypackage.MyConverterFactory<MyType>"
KNIME GmbH, Konstanz, Germany
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.