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 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.