public interface

Renderer

com.microstrategy.web.blocks.renderers.Renderer
Known Indirect Subclasses

Class Overview

This interface represents the contract between a Block and a class that is responsible for generating its representation.

Summary

Public Methods
abstract MarkupOutput generateMarkup(BlockContext bContext, Block block)
Generate the markup representation of the specified Block.
abstract void setEncoderChain(ContentEncoderChain contentEncoders)
Set up the encoder chain for the renderer.

Public Methods

public abstract MarkupOutput generateMarkup (BlockContext bContext, Block block)

Generate the markup representation of the specified Block.

Parameters
bContext The BlockContext object that controls how BlockProperty values are expanded and Blocks are serialized.
block The Block to generate markup for.
Returns
  • A new MarkupOutput object that contains the generated markup.
Throws
Exception If an error occurs in the process of generating the markup.

public abstract void setEncoderChain (ContentEncoderChain contentEncoders)

Set up the encoder chain for the renderer.

Parameters
contentEncoders - The contentEncoderChain object containing the list of encoders.