public static enum XLIFFOptions.ID_TYPE extends java.lang.Enum<XLIFFOptions.ID_TYPE>
Enum Constant and Description |
---|
CONTEXT
Take the ID from the prev and next segments.
|
ELEMENT_ID
Take the ID from the <trans-unit>'s XML ID.
|
RESNAME_ATTR
Take the ID from the <trans-unit>'s resname attribute.
|
Modifier and Type | Method and Description |
---|---|
static XLIFFOptions.ID_TYPE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static XLIFFOptions.ID_TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XLIFFOptions.ID_TYPE CONTEXT
public static final XLIFFOptions.ID_TYPE ELEMENT_ID
public static final XLIFFOptions.ID_TYPE RESNAME_ATTR
public static XLIFFOptions.ID_TYPE[] values()
for (XLIFFOptions.ID_TYPE c : XLIFFOptions.ID_TYPE.values()) System.out.println(c);
public static XLIFFOptions.ID_TYPE valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null