Class ScriptVariableJSONEncoder

  • All Implemented Interfaces:
    ContentEncoder

    public class ScriptVariableJSONEncoder
    extends java.lang.Object
    implements ContentEncoder
    Since:
    MicroStrategy Web 9.0.1
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.CharSequence decode​(java.lang.String data)
      Removes special encoding added to protect against string end tags being embedded in user-supplied data
      java.lang.CharSequence encode​(java.lang.String data)
      This method should return the original String if there is no replacement.
      java.lang.CharSequence encode​(java.lang.StringBuilder data)
      Encode the value in the StringBuilder.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ScriptVariableJSONEncoder

        public ScriptVariableJSONEncoder()
    • Method Detail

      • encode

        public java.lang.CharSequence encode​(java.lang.String data)
        Description copied from interface: ContentEncoder
        This method should return the original String if there is no replacement.
        Specified by:
        encode in interface ContentEncoder
        Parameters:
        data - - value to be encoded
        Returns:
        encoded value
      • encode

        public java.lang.CharSequence encode​(java.lang.StringBuilder data)
        Description copied from interface: ContentEncoder
        Encode the value in the StringBuilder.
        Specified by:
        encode in interface ContentEncoder
        Parameters:
        data - - value to be encoded
        Returns:
        encoded value
      • decode

        public java.lang.CharSequence decode​(java.lang.String data)
        Removes special encoding added to protect against string end tags being embedded in user-supplied data
        Parameters:
        data -
        Returns: