Package com.microstrategy.utils
Interface ContentEncoder
-
- All Known Implementing Classes:
BasicHTMLEncoder
,HTMLEncoder
,JsonEncoder
,ScriptVariableJSONEncoder
public interface ContentEncoder
This interface represents an encoder- Since:
- MicroStrategy Web 9.0.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.
-
-
-
Method Detail
-
encode
java.lang.CharSequence encode(java.lang.String data)
This method should return the original String if there is no replacement.- Parameters:
data
- - value to be encoded- Returns:
- encoded value
-
encode
java.lang.CharSequence encode(java.lang.StringBuilder data)
Encode the value in the StringBuilder.- Parameters:
data
- - value to be encoded- Returns:
- encoded value
-
-