public enum MarkupContext extends java.lang.Enum<MarkupContext>
Enum Constant and Description |
---|
ATTRIBUTE |
ATTRIBUTE_NAME |
COMMENT |
ELEMENT_NAME |
HTML |
NUMBER |
SCRIPT_COMMENT |
SCRIPT_REGEXP |
SCRIPT_STRING |
SCRIPT_TOKEN |
STYLE_COMMENT |
STYLE_STRING |
STYLE_TOKEN |
TEXT |
UNSAFE |
URI |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
static MarkupContext |
lookup(java.lang.String name)
Returns the render context with the given name.
|
static MarkupContext |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MarkupContext[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MarkupContext HTML
public static final MarkupContext TEXT
public static final MarkupContext ELEMENT_NAME
public static final MarkupContext ATTRIBUTE_NAME
public static final MarkupContext ATTRIBUTE
public static final MarkupContext URI
public static final MarkupContext SCRIPT_TOKEN
public static final MarkupContext SCRIPT_STRING
public static final MarkupContext SCRIPT_COMMENT
public static final MarkupContext SCRIPT_REGEXP
public static final MarkupContext STYLE_TOKEN
public static final MarkupContext STYLE_STRING
public static final MarkupContext STYLE_COMMENT
public static final MarkupContext COMMENT
public static final MarkupContext NUMBER
public static final MarkupContext UNSAFE
public static MarkupContext[] values()
for (MarkupContext c : MarkupContext.values()) System.out.println(c);
public static MarkupContext valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getName()
public static MarkupContext lookup(java.lang.String name)
name
- the name of the render contextnull
if the name matches no value"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"