Package net.sf.okapi.filters.xliff
Enum XLIFFFilter.State
- java.lang.Object
-
- java.lang.Enum<XLIFFFilter.State>
-
- net.sf.okapi.filters.xliff.XLIFFFilter.State
-
- All Implemented Interfaces:
Serializable,Comparable<XLIFFFilter.State>
- Enclosing class:
- XLIFFFilter
public static enum XLIFFFilter.State extends Enum<XLIFFFilter.State>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULTFINALSIGNED_OFFTRANSLATED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static XLIFFFilter.StatefromString(String name)StringtoString()static XLIFFFilter.StatevalueOf(String name)Returns the enum constant of this type with the specified name.static XLIFFFilter.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final XLIFFFilter.State DEFAULT
-
TRANSLATED
public static final XLIFFFilter.State TRANSLATED
-
SIGNED_OFF
public static final XLIFFFilter.State SIGNED_OFF
-
FINAL
public static final XLIFFFilter.State FINAL
-
-
Method Detail
-
values
public static XLIFFFilter.State[] 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 (XLIFFFilter.State c : XLIFFFilter.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static XLIFFFilter.State 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
-
toString
public String toString()
- Overrides:
toStringin classEnum<XLIFFFilter.State>
-
fromString
public static XLIFFFilter.State fromString(String name)
-
-