Package ro.sync.ecss.dita
Enum DITAImposedReferenceType
- java.lang.Object
-
- java.lang.Enum<DITAImposedReferenceType>
-
- ro.sync.ecss.dita.DITAImposedReferenceType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DITAImposedReferenceType>
@API(type=NOT_EXTENDABLE, src=PRIVATE) public enum DITAImposedReferenceType extends java.lang.Enum<DITAImposedReferenceType>
Specifies how a reference should be inserted in a document: xref, figure, variable, etc- Since:
- 25.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FIGURE
fig with title and imageMEDIA
media reference: images, audio, video, youtube, html documentsNOT_IMPOSED
Let someone else (usually the schema aware) decide what's better.VARIABLE
ph with keyrefXREF
xref with href/keyref (common case)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DITAImposedReferenceType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DITAImposedReferenceType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MEDIA
public static final DITAImposedReferenceType MEDIA
media reference: images, audio, video, youtube, html documents
-
XREF
public static final DITAImposedReferenceType XREF
xref with href/keyref (common case)
-
FIGURE
public static final DITAImposedReferenceType FIGURE
fig with title and image
-
VARIABLE
public static final DITAImposedReferenceType VARIABLE
ph with keyref
-
NOT_IMPOSED
public static final DITAImposedReferenceType 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 Detail
-
values
public static DITAImposedReferenceType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DITAImposedReferenceType c : DITAImposedReferenceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DITAImposedReferenceType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-