Interface DmnElementTransformHandlerRegistry

    • Method Detail

      • getHandler

        <Source extends DmnModelElementInstance,​Target> DmnElementTransformHandler<Source,​Target> getHandler​(java.lang.Class<Source> sourceClass)
        Get the transformer for a source type
        Type Parameters:
        Source - the type of the transformation input
        Target - the type of the transformation output
        Parameters:
        sourceClass - the class of the source type
        Returns:
        the DmnElementTransformHandler or null if none is registered for this source type
      • addHandler

        <Source extends DmnModelElementInstance,​Target> void addHandler​(java.lang.Class<Source> sourceClass,
                                                                              DmnElementTransformHandler<Source,​Target> handler)
        Register a DmnElementTransformHandler for a source type
        Type Parameters:
        Source - the type of the transformation input
        Target - the type of the transformation output
        Parameters:
        sourceClass - the class of the source type
        handler - the handler to register