Class ImageBlock

  • All Implemented Interfaces:
    Cloneable, Block

    public class ImageBlock
    extends AbstractBlock
    Represents an image.
    Since:
    1.7M2
    Version:
    $Id: 34bb18245b129f6ea8878c27590779691d94430a $
    • Constructor Detail

      • ImageBlock

        public ImageBlock​(ResourceReference reference,
                          boolean freestanding)
        Parameters:
        reference - the image reference
        freestanding - indicate if the image syntax is simple a full descriptive syntax (detail depending of the syntax)
        Since:
        2.5RC1
      • ImageBlock

        public ImageBlock​(ResourceReference reference,
                          boolean freestanding,
                          Map<String,​String> parameters)
        Parameters:
        reference - the image reference
        freestanding - indicate if the image syntax is simple a full descriptive syntax (detail depending of the syntax)
        parameters - the custom parameters
        Since:
        2.5RC1
      • ImageBlock

        @Unstable
        public ImageBlock​(ResourceReference reference,
                          boolean freestanding,
                          String id,
                          Map<String,​String> parameters)
        Parameters:
        reference - the image reference
        freestanding - indicate if the image syntax is simple a full descriptive syntax (detail depending of the syntax)
        id - the (automatically generated) id of the image
        parameters - the custom parameters
        Since:
        14.2RC1