public class

BasicJSEncoder

extends Object
java.lang.Object
   ↳ com.microstrategy.utils.BasicJSEncoder

Class Overview

Class for performing JS encoding on the data.

Summary

Public Constructors
BasicJSEncoder()
Public Methods
String encodeJSCode(String jsCode)
It accepts the string to be encoded and returns the encoded string for JavaScript.
String encodeJSCodeForAttribute(String jsCode)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public BasicJSEncoder ()

Public Methods

public String encodeJSCode (String jsCode)

It accepts the string to be encoded and returns the encoded string for JavaScript.

Parameters
jsCode String value to be encoded
Returns
  • the encoded string

public String encodeJSCodeForAttribute (String jsCode)