public class

DiagnosticJsonRenderer

extends JsonRenderer
java.lang.Object
   ↳ com.microstrategy.web.blocks.renderers.AbstractRenderer
     ↳ com.microstrategy.web.blocks.renderers.JsonRenderer
       ↳ com.microstrategy.web.blocks.renderers.DiagnosticJsonRenderer

Class Overview

A diagnostic version of the JsonRenderer that includes the block name in the generated JSON. It also generates statistics on the Blocks processed and sends it to STDERR (System.err).

Summary

Constants
String BLOCK_PROP_BLOCK_NAME The name of the property that is used to hold the block name.
[Expand]
Inherited Constants
From class com.microstrategy.web.blocks.renderers.JsonRenderer
[Expand]
Inherited Fields
From class com.microstrategy.web.blocks.renderers.AbstractRenderer
Public Constructors
DiagnosticJsonRenderer()
Public Methods
MarkupOutput generateMarkup(BlockContext bContext, Block block)
[Expand]
Inherited Methods
From class com.microstrategy.web.blocks.renderers.JsonRenderer
From class com.microstrategy.web.blocks.renderers.AbstractRenderer
From class java.lang.Object
From interface com.microstrategy.web.blocks.renderers.Renderer

Constants

public static final String BLOCK_PROP_BLOCK_NAME

The name of the property that is used to hold the block name.

Constant Value: "##blockName##"

Public Constructors

public DiagnosticJsonRenderer ()

Public Methods

public MarkupOutput generateMarkup (BlockContext bContext, Block block)

Throws
Exception