Package com.microstrategy.utils
Class BasicJSEncoder
- java.lang.Object
-
- com.microstrategy.utils.BasicJSEncoder
-
public class BasicJSEncoder extends java.lang.Object
Class for performing JS encoding on the data.
-
-
Constructor Summary
Constructors Constructor Description BasicJSEncoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
encodeJSCode(java.lang.String jsCode)
It accepts the string to be encoded and returns the encoded string for JavaScript.java.lang.String
encodeJSCodeForAttribute(java.lang.String jsCode)
-
-
-
Method Detail
-
encodeJSCode
public java.lang.String encodeJSCode(java.lang.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
-
encodeJSCodeForAttribute
public java.lang.String encodeJSCodeForAttribute(java.lang.String jsCode)
-
-