Package ro.sync.ecss.dita
Enum Class DITATopicInsertionPosition
- All Implemented Interfaces:
Serializable
,Comparable<DITATopicInsertionPosition>
,Constable
@API(type=NOT_EXTENDABLE,
src=PRIVATE)
public enum DITATopicInsertionPosition
extends Enum<DITATopicInsertionPosition>
The position where to insert a topic, relative to the selection.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionInsert after the current selection.Insert before the current selection.Insert as first child of the current element.Insert as last child of the current selection. -
Method Summary
Modifier and TypeMethodDescriptionstatic DITATopicInsertionPosition
Returns the enum constant of this class with the specified name.static DITATopicInsertionPosition[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BEFORE
Insert before the current selection. -
AFTER
Insert after the current selection. -
LAST_CHILD
Insert as last child of the current selection. -
FIRST_CHILD
Insert as first child of the current element.
-
-
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
-