Interface ImageListener

    • Method Detail

      • onImage

        void onImage​(ResourceReference reference,
                     boolean freestanding,
                     @Default("")
                     Map<String,​String> parameters)
        An image.
        Parameters:
        reference - the image reference
        freestanding - if true then the image is defined directly as a URI in the text
        parameters - a generic list of parameters. Example: style="background-color: blue"
      • onImage

        @Unstable
        default void onImage​(ResourceReference reference,
                             boolean freestanding,
                             String id,
                             @Default("")
                             Map<String,​String> parameters)
        An image.
        Parameters:
        reference - the image reference
        freestanding - if true then the image is defined directly as a URI in the text
        id - the (generated) id of the image
        parameters - a generic list of parameters. Example: style="background-color: blue"
        Since:
        14.2RC1