@OpenApiAll
public class ElementTransformationFactory
extends java.lang.Object
Constructor and Description |
---|
ElementTransformationFactory() |
Modifier and Type | Method and Description |
---|---|
protected ElementTransformation |
getTransformation(VariationPoint variationPoint)
Creates ElementTransformation based on given element and @see VariationPoint
|
static void |
registerElementTransformation(ElementTransformation transformation)
Register custom transformation to transform elements during variant realization
In case several registered transformations can transform some element, then latest registered transformation will be used.
|
static void |
unregisterElementTransformation(ElementTransformation transformation) |
public static void registerElementTransformation(ElementTransformation transformation)
transformation
- element transformation used during variant realizationpublic static void unregisterElementTransformation(ElementTransformation transformation)
@CheckForNull protected ElementTransformation getTransformation(VariationPoint variationPoint)
variationPoint
- variation point to evaluate given elementElementTransformation