public interface DmnElementTransformHandlerRegistry
Modifier and Type | Method and Description |
---|---|
<Source extends DmnModelElementInstance,Target> |
addHandler(Class<Source> sourceClass,
DmnElementTransformHandler<Source,Target> handler)
Register a
DmnElementTransformHandler for a source type |
<Source extends DmnModelElementInstance,Target> |
getHandler(Class<Source> sourceClass)
Get the transformer for a source type
|
<Source extends DmnModelElementInstance,Target> DmnElementTransformHandler<Source,Target> getHandler(Class<Source> sourceClass)
Source
- the type of the transformation inputTarget
- the type of the transformation outputsourceClass
- the class of the source typeDmnElementTransformHandler
or null if none is registered for this source type<Source extends DmnModelElementInstance,Target> void addHandler(Class<Source> sourceClass, DmnElementTransformHandler<Source,Target> handler)
DmnElementTransformHandler
for a source typeSource
- the type of the transformation inputTarget
- the type of the transformation outputsourceClass
- the class of the source typehandler
- the handler to registerCopyright © 2017. All rights reserved.