Package com.microstrategy.web.beans
Interface EncodedMarkupOutput
-
- All Superinterfaces:
MarkupOutput
public interface EncodedMarkupOutput extends MarkupOutput
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.- Since:
- MicroStrategy Web 9.0.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
append(java.lang.String element, boolean encode)
Adds data at the end of the EncodedMarkupOutput object.-
Methods inherited from interface com.microstrategy.web.beans.MarkupOutput
addBlock, addErrorInfo, addHeader, append, append, append, append, append, append, appendHtml, appendHtml, appendHtmlAttributeTooltip, appendJS, appendJSForAttribute, appendUrl, chunkCount, getBinaryChunkAt, getBinaryContent, getBinaryMode, getBlock, getBlockContext, getBlockCount, getChildBlocks, getComponentBlock, getContentLength, getContentType, getCopyAsString, getErrorInfo, getHeaderCount, getHeaderKey, getHeaderValue, getTextChunkAt, getUnserializedObject, hasChildBlocks, hasComponentBlock, hasErrorInfo, send, send, setBinaryContent, setBlockContext, setComponentBlock, setContentType, setErrorInfo, setUnserializedObject
-
-
-
-
Method Detail
-
append
void append(java.lang.String element, boolean encode) throws java.lang.IllegalArgumentException, java.lang.IllegalStateException
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:
java.lang.IllegalArgumentException
- thrown if the element is null.java.lang.IllegalStateException
- thrown if current MarkupOutput is at binary mode.
-
-