public enum PositionType extends Enum<PositionType>
Java class for positionType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="positionType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="after"/>
<enumeration value="before"/>
<enumeration value="first-child"/>
<enumeration value="last-child"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
AFTER
The nodes to be added will be inserted after the anchor node.
|
BEFORE
The nodes to be added will be inserted before the anchor node.
|
FIRST_CHILD
The nodes to be added will be inserted as the first child of the anchor node.
|
LAST_CHILD
The nodes to be added will be inserted as the last child of the anchor node.
|
| Modifier and Type | Method and Description |
|---|---|
static PositionType |
fromValue(String v) |
String |
value() |
static PositionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PositionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PositionType AFTER
public static final PositionType BEFORE
public static final PositionType FIRST_CHILD
public static final PositionType LAST_CHILD
public static PositionType[] values()
for (PositionType c : PositionType.values()) System.out.println(c);
public static PositionType 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 nullpublic String value()
public static PositionType fromValue(String v)
Copyright © 2023 NorStella. All rights reserved.