Package net.sf.okapi.common.annotation
Enum XLIFFContextGroup.Context.StandardContextTypes
- java.lang.Object
-
- java.lang.Enum<XLIFFContextGroup.Context.StandardContextTypes>
-
- net.sf.okapi.common.annotation.XLIFFContextGroup.Context.StandardContextTypes
-
- All Implemented Interfaces:
Serializable,Comparable<XLIFFContextGroup.Context.StandardContextTypes>
- Enclosing class:
- XLIFFContextGroup.Context
public static enum XLIFFContextGroup.Context.StandardContextTypes extends Enum<XLIFFContextGroup.Context.StandardContextTypes>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description databaseelementelementtitlelinenumbernumparamsparamnotesrecordrecordtitlesourcefile
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static XLIFFContextGroup.Context.StandardContextTypesvalueOf(String name)Returns the enum constant of this type with the specified name.static XLIFFContextGroup.Context.StandardContextTypes[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
database
public static final XLIFFContextGroup.Context.StandardContextTypes database
-
element
public static final XLIFFContextGroup.Context.StandardContextTypes element
-
elementtitle
public static final XLIFFContextGroup.Context.StandardContextTypes elementtitle
-
linenumber
public static final XLIFFContextGroup.Context.StandardContextTypes linenumber
-
numparams
public static final XLIFFContextGroup.Context.StandardContextTypes numparams
-
paramnotes
public static final XLIFFContextGroup.Context.StandardContextTypes paramnotes
-
record
public static final XLIFFContextGroup.Context.StandardContextTypes record
-
recordtitle
public static final XLIFFContextGroup.Context.StandardContextTypes recordtitle
-
sourcefile
public static final XLIFFContextGroup.Context.StandardContextTypes sourcefile
-
-
Method Detail
-
values
public static XLIFFContextGroup.Context.StandardContextTypes[] 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 (XLIFFContextGroup.Context.StandardContextTypes c : XLIFFContextGroup.Context.StandardContextTypes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static XLIFFContextGroup.Context.StandardContextTypes valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-