public static enum XSSSupport.EncodingMode extends Enum<XSSSupport.EncodingMode>
Enum Constant and Description |
---|
HTML
Encodes the content as HTML
|
HTML_ATTR |
JS |
XML |
XML_ATTR |
Modifier and Type | Method and Description |
---|---|
static XSSSupport.EncodingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XSSSupport.EncodingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XSSSupport.EncodingMode HTML
public static final XSSSupport.EncodingMode HTML_ATTR
public static final XSSSupport.EncodingMode XML
public static final XSSSupport.EncodingMode XML_ATTR
public static final XSSSupport.EncodingMode JS
public static XSSSupport.EncodingMode[] values()
for (XSSSupport.EncodingMode c : XSSSupport.EncodingMode.values()) System.out.println(c);
public static XSSSupport.EncodingMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.