Class ImageBlock

java.lang.Object
org.xwiki.rendering.block.AbstractBlock
org.xwiki.rendering.block.ImageBlock
All Implemented Interfaces:
Cloneable, Block

public class ImageBlock extends AbstractBlock
Represents an image.
Since:
1.7M2
Version:
$Id: 74e089e1c07e24e57610e454efa9eabb89d4f04d $
  • Constructor Details

    • 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

      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
  • Method Details