public class XSSSupport
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
XSSSupport.ENCODING_MODE
The encoding modes supported by this tag.
|
Constructor and Description |
---|
XSSSupport() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
encode(java.lang.String unencoded,
XSSSupport.ENCODING_MODE mode)
Encodes the unencoded string using the specified mode.
|
static XSSSupport.ENCODING_MODE |
getEncodingMode(java.lang.String modeStr)
Retrieves the encoding mode associated with the specified string.
|
public static java.lang.String encode(java.lang.String unencoded, XSSSupport.ENCODING_MODE mode)
unencoded
- the unencoded stringmode
- the mode with which to encode the stringpublic static XSSSupport.ENCODING_MODE getEncodingMode(java.lang.String modeStr)
modeStr
- the mode string"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"