Package ro.sync.ecss.dita
Enum Class DITAImposedReferenceType
- All Implemented Interfaces:
Serializable
,Comparable<DITAImposedReferenceType>
,Constable
@API(type=NOT_EXTENDABLE,
src=PRIVATE)
public enum DITAImposedReferenceType
extends Enum<DITAImposedReferenceType>
Specifies how a reference should be inserted in a document: xref, figure, variable, etc
- Since:
- 25.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionfig with title and imagemedia reference: images, audio, video, youtube, html documentsLet someone else (usually the schema aware) decide what's better.ph with keyrefxref with href/keyref (common case) -
Method Summary
Modifier and TypeMethodDescriptionstatic DITAImposedReferenceType
Returns the enum constant of this class with the specified name.static DITAImposedReferenceType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MEDIA
media reference: images, audio, video, youtube, html documents -
XREF
xref with href/keyref (common case) -
FIGURE
fig with title and image -
VARIABLE
ph with keyref -
NOT_IMPOSED
Let someone else (usually the schema aware) decide what's better.
This is usually associated with drag'n drop or double click actions
-
-
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
-