Package org.owasp.html
Enum HtmlTagSkipType
- java.lang.Object
-
- java.lang.Enum<HtmlTagSkipType>
-
- org.owasp.html.HtmlTagSkipType
-
- All Implemented Interfaces:
Serializable
,Comparable<HtmlTagSkipType>
public enum HtmlTagSkipType extends Enum<HtmlTagSkipType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DO_NOT_SKIP
DO_NOT_SKIP_BY_DEFAULT
SKIP
SKIP_BY_DEFAULT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HtmlTagSkipType
and(HtmlTagSkipType s)
boolean
skipAvailability()
static HtmlTagSkipType
valueOf(String name)
Returns the enum constant of this type with the specified name.static HtmlTagSkipType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SKIP
public static final HtmlTagSkipType SKIP
-
SKIP_BY_DEFAULT
public static final HtmlTagSkipType SKIP_BY_DEFAULT
-
DO_NOT_SKIP
public static final HtmlTagSkipType DO_NOT_SKIP
-
DO_NOT_SKIP_BY_DEFAULT
public static final HtmlTagSkipType DO_NOT_SKIP_BY_DEFAULT
-
-
Method Detail
-
values
public static HtmlTagSkipType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (HtmlTagSkipType c : HtmlTagSkipType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HtmlTagSkipType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
and
public HtmlTagSkipType and(HtmlTagSkipType s)
-
skipAvailability
public boolean skipAvailability()
-
-