public class XSSSupport extends 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 String |
encode(String unencoded,
XSSSupport.ENCODING_MODE mode)
Encodes the unencoded string using the specified mode.
|
static XSSSupport.ENCODING_MODE |
getEncodingMode(String modeStr)
Retrieves the encoding mode associated with the specified string.
|
public static String encode(String unencoded, XSSSupport.ENCODING_MODE mode)
unencoded
- the unencoded stringmode
- the mode with which to encode the stringpublic static XSSSupport.ENCODING_MODE getEncodingMode(String modeStr)
modeStr
- the mode string"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"