Package lumis.service.htmlinjector
Enum HtmlInjectionConfig.SelectorInsertPosition
- java.lang.Object
-
- java.lang.Enum<HtmlInjectionConfig.SelectorInsertPosition>
-
- lumis.service.htmlinjector.HtmlInjectionConfig.SelectorInsertPosition
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<HtmlInjectionConfig.SelectorInsertPosition>
- Enclosing class:
- HtmlInjectionConfig
public static enum HtmlInjectionConfig.SelectorInsertPosition extends java.lang.Enum<HtmlInjectionConfig.SelectorInsertPosition>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AFTER
BEFORE
FIRST_CHILD
LAST_CHILD
REPLACE
REPLACE_INNER_HTML
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HtmlInjectionConfig.SelectorInsertPosition
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static HtmlInjectionConfig.SelectorInsertPosition[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REPLACE_INNER_HTML
public static final HtmlInjectionConfig.SelectorInsertPosition REPLACE_INNER_HTML
-
REPLACE
public static final HtmlInjectionConfig.SelectorInsertPosition REPLACE
-
LAST_CHILD
public static final HtmlInjectionConfig.SelectorInsertPosition LAST_CHILD
-
FIRST_CHILD
public static final HtmlInjectionConfig.SelectorInsertPosition FIRST_CHILD
-
AFTER
public static final HtmlInjectionConfig.SelectorInsertPosition AFTER
-
BEFORE
public static final HtmlInjectionConfig.SelectorInsertPosition BEFORE
-
-
Method Detail
-
values
public static HtmlInjectionConfig.SelectorInsertPosition[] 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 (HtmlInjectionConfig.SelectorInsertPosition c : HtmlInjectionConfig.SelectorInsertPosition.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HtmlInjectionConfig.SelectorInsertPosition valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-