public interface

EncodedMarkupOutput

implements MarkupOutput
com.microstrategy.web.beans.EncodedMarkupOutput

Class Overview

This object is used to perform everything MakrupOuptput is supposed to do but with js encoding performed upon appending a string. This object is used when the final output of a transform is in a form of a json object and the HTML is just a value of its "content" attribute.

Summary

Public Methods
abstract void append(String element, boolean encode)
Adds data at the end of the EncodedMarkupOutput object.
[Expand]
Inherited Methods
From interface com.microstrategy.web.beans.MarkupOutput

Public Methods

public abstract void append (String element, boolean encode)

Adds data at the end of the EncodedMarkupOutput object.

Parameters
element the String wanted to be appended to the collection.
encode the Boolean indicating whether encode is needed or not upon appending.
Throws
IllegalArgumentException thrown if the element is null.
IllegalStateException thrown if current MarkupOutput is at binary mode.