public static enum IAddition.Location extends java.lang.Enum<IAddition.Location>
path
specified in add-element
. If the
location attribute in the XML has an illegal value that can't be
parsed, then the enumeration value of UNKNOWN
will be used
to indicate that, and the runtime will proceed as if the default value of
LAST_CHILD
had been used.Enum Constant and Description |
---|
AFTER
Add as a sibling immediately after the selected element.
|
BEFORE
Add as a sibling immediately before the selected element.
|
FIRST_CHILD
Add as the first child of the selected element.
|
LAST_CHILD
Add as the last child of the selected element.
|
UNKNOWN
The location information could not be parsed.
|
Modifier and Type | Method and Description |
---|---|
static IAddition.Location |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IAddition.Location[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IAddition.Location BEFORE
public static final IAddition.Location AFTER
public static final IAddition.Location FIRST_CHILD
public static final IAddition.Location LAST_CHILD
public static final IAddition.Location UNKNOWN
public static IAddition.Location[] values()
for (IAddition.Location c : IAddition.Location.values()) System.out.println(c);
public static IAddition.Location 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 null