Class ImageRenderer

  • All Implemented Interfaces:
    IModelRenderer

    public class ImageRenderer
    extends ModelRenderer
    This class transforms an image to its viewmodel.
    Since:
    9.2
    Author:
    A.Pragt
    • Constructor Detail

      • ImageRenderer

        public ImageRenderer()
    • Method Detail

      • toModel

        public ElementModel toModel​(com.aquima.interactions.composer.IElement element,
                                    IRendererContext context)
        Description copied from interface: IModelRenderer
        This method transforms an element to a viemodel.
        Parameters:
        element - The element to transform, not null.
        context - The context, not null.
        Returns:
        The viewmodel, never null.