Enum Class RelativeInsertPosition
java.lang.Object
java.lang.Enum<RelativeInsertPosition>
ro.sync.exml.editor.xmleditor.operations.context.RelativeInsertPosition
- All Implemented Interfaces:
Serializable
,Comparable<RelativeInsertPosition>
,Constable
@API(type=NOT_EXTENDABLE,
src=PUBLIC)
public enum RelativeInsertPosition
extends Enum<RelativeInsertPosition>
Defines an insert position relative to a node.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionInsert the node after the anchor node.Insert the node as the first child of the anchor node.Insert the node as the last child of the anchor node.Insert the node before the anchor node. -
Method Summary
Modifier and TypeMethodDescriptionstatic RelativeInsertPosition
Returns the enum constant of this class with the specified name.static RelativeInsertPosition[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSERT_LOCATION_AFTER
Insert the node after the anchor node. -
INSERT_LOCATION_BEFORE
Insert the node before the anchor node. -
INSERT_LOCATION_AS_FIRST_CHILD
Insert the node as the first child of the anchor node. -
INSERT_LOCATION_AS_LAST_CHILD
Insert the node as the last child of the anchor node.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-