com.microstrategy.web.blocks.renderers.Renderer |
Known Indirect Subclasses
AbstractRenderer |
This is a simple base class for a renderer. |
DiagnosticJsonRenderer |
A diagnostic version of the JsonRenderer that includes the block name in the
generated JSON. |
JsonRenderer |
This class is used to render the contents of a Block in
JavaScript Object Notation (JSON) format. |
XmlRenderer |
This class is the renderer that converts a Block tree into XML Element Normal
Form. |
XmlRendererANF |
This class is the renderer that converts a Block tree into XML Attribute Normal
Form. |
|
Class Overview
This interface represents the contract between a Block and a class that is
responsible for generating its representation.
Public Methods
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. |