Package net.sf.okapi.proto.textunitflat
Enum Property.PropName
- java.lang.Object
-
- java.lang.Enum<Property.PropName>
-
- net.sf.okapi.proto.textunitflat.Property.PropName
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Property.PropName>
- Enclosing class:
- Property
public static enum Property.PropName extends Enum<Property.PropName> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumProperty.PropName
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APPROVEDAPPROVED = 2;COORDINATESCOORDINATES = 5;ENCODINGENCODING = 0;ITS_LQIITS_LQI = 8;ITS_MTCONFIDENCEITS_MTCONFIDENCE = 10;ITS_PROVITS_PROV = 9;LANGUAGELANGUAGE = 1;MAX_HEIGHTMAX_HEIGHT = 14;MAX_WIDTHMAX_WIDTH = 13;NOTENOTE = 3;SIZE_UNITSIZE_UNIT = 15;STATESTATE = 7;STATE_QUALIFIERSTATE_QUALIFIER = 6;TMX_hiTMX_hi = 17;TMX_iFor TMX filter - may be used by {@link TMXWriter} or {@link TMXFilterWriter}TMX_xTMX_x = 18;TRANSNOTETRANSNOTE = 4;UNRECOGNIZEDXLIFF_PHASEXLIFF_PHASE = 12;XLIFF_TOOLXLIFF_TOOL = 11;
-
Field Summary
Fields Modifier and Type Field Description static intAPPROVED_VALUEAPPROVED = 2;static intCOORDINATES_VALUECOORDINATES = 5;static intENCODING_VALUEENCODING = 0;static intITS_LQI_VALUEITS_LQI = 8;static intITS_MTCONFIDENCE_VALUEITS_MTCONFIDENCE = 10;static intITS_PROV_VALUEITS_PROV = 9;static intLANGUAGE_VALUELANGUAGE = 1;static intMAX_HEIGHT_VALUEMAX_HEIGHT = 14;static intMAX_WIDTH_VALUEMAX_WIDTH = 13;static intNOTE_VALUENOTE = 3;static intSIZE_UNIT_VALUESIZE_UNIT = 15;static intSTATE_QUALIFIER_VALUESTATE_QUALIFIER = 6;static intSTATE_VALUESTATE = 7;static intTMX_hi_VALUETMX_hi = 17;static intTMX_i_VALUEFor TMX filter - may be used by {@link TMXWriter} or {@link TMXFilterWriter}static intTMX_x_VALUETMX_x = 18;static intTRANSNOTE_VALUETRANSNOTE = 4;static intXLIFF_PHASE_VALUEXLIFF_PHASE = 12;static intXLIFF_TOOL_VALUEXLIFF_TOOL = 11;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Property.PropNameforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<Property.PropName>internalGetValueMap()static Property.PropNamevalueOf(int value)Deprecated.static Property.PropNamevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Property.PropNamevalueOf(String name)Returns the enum constant of this type with the specified name.static Property.PropName[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENCODING
public static final Property.PropName ENCODING
ENCODING = 0;
-
LANGUAGE
public static final Property.PropName LANGUAGE
LANGUAGE = 1;
-
APPROVED
public static final Property.PropName APPROVED
APPROVED = 2;
-
NOTE
public static final Property.PropName NOTE
NOTE = 3;
-
TRANSNOTE
public static final Property.PropName TRANSNOTE
TRANSNOTE = 4;
-
COORDINATES
public static final Property.PropName COORDINATES
COORDINATES = 5;
-
STATE_QUALIFIER
public static final Property.PropName STATE_QUALIFIER
STATE_QUALIFIER = 6;
-
STATE
public static final Property.PropName STATE
STATE = 7;
-
ITS_LQI
public static final Property.PropName ITS_LQI
ITS_LQI = 8;
-
ITS_PROV
public static final Property.PropName ITS_PROV
ITS_PROV = 9;
-
ITS_MTCONFIDENCE
public static final Property.PropName ITS_MTCONFIDENCE
ITS_MTCONFIDENCE = 10;
-
XLIFF_TOOL
public static final Property.PropName XLIFF_TOOL
XLIFF_TOOL = 11;
-
XLIFF_PHASE
public static final Property.PropName XLIFF_PHASE
XLIFF_PHASE = 12;
-
MAX_WIDTH
public static final Property.PropName MAX_WIDTH
MAX_WIDTH = 13;
-
MAX_HEIGHT
public static final Property.PropName MAX_HEIGHT
MAX_HEIGHT = 14;
-
SIZE_UNIT
public static final Property.PropName SIZE_UNIT
SIZE_UNIT = 15;
-
TMX_i
public static final Property.PropName TMX_i
For TMX filter - may be used by {@link TMXWriter} or {@link TMXFilterWriter}TMX_i = 16;
-
TMX_hi
public static final Property.PropName TMX_hi
TMX_hi = 17;
-
TMX_x
public static final Property.PropName TMX_x
TMX_x = 18;
-
UNRECOGNIZED
public static final Property.PropName UNRECOGNIZED
-
-
Field Detail
-
ENCODING_VALUE
public static final int ENCODING_VALUE
ENCODING = 0;- See Also:
- Constant Field Values
-
LANGUAGE_VALUE
public static final int LANGUAGE_VALUE
LANGUAGE = 1;- See Also:
- Constant Field Values
-
APPROVED_VALUE
public static final int APPROVED_VALUE
APPROVED = 2;- See Also:
- Constant Field Values
-
NOTE_VALUE
public static final int NOTE_VALUE
NOTE = 3;- See Also:
- Constant Field Values
-
TRANSNOTE_VALUE
public static final int TRANSNOTE_VALUE
TRANSNOTE = 4;- See Also:
- Constant Field Values
-
COORDINATES_VALUE
public static final int COORDINATES_VALUE
COORDINATES = 5;- See Also:
- Constant Field Values
-
STATE_QUALIFIER_VALUE
public static final int STATE_QUALIFIER_VALUE
STATE_QUALIFIER = 6;- See Also:
- Constant Field Values
-
STATE_VALUE
public static final int STATE_VALUE
STATE = 7;- See Also:
- Constant Field Values
-
ITS_LQI_VALUE
public static final int ITS_LQI_VALUE
ITS_LQI = 8;- See Also:
- Constant Field Values
-
ITS_PROV_VALUE
public static final int ITS_PROV_VALUE
ITS_PROV = 9;- See Also:
- Constant Field Values
-
ITS_MTCONFIDENCE_VALUE
public static final int ITS_MTCONFIDENCE_VALUE
ITS_MTCONFIDENCE = 10;- See Also:
- Constant Field Values
-
XLIFF_TOOL_VALUE
public static final int XLIFF_TOOL_VALUE
XLIFF_TOOL = 11;- See Also:
- Constant Field Values
-
XLIFF_PHASE_VALUE
public static final int XLIFF_PHASE_VALUE
XLIFF_PHASE = 12;- See Also:
- Constant Field Values
-
MAX_WIDTH_VALUE
public static final int MAX_WIDTH_VALUE
MAX_WIDTH = 13;- See Also:
- Constant Field Values
-
MAX_HEIGHT_VALUE
public static final int MAX_HEIGHT_VALUE
MAX_HEIGHT = 14;- See Also:
- Constant Field Values
-
SIZE_UNIT_VALUE
public static final int SIZE_UNIT_VALUE
SIZE_UNIT = 15;- See Also:
- Constant Field Values
-
TMX_i_VALUE
public static final int TMX_i_VALUE
For TMX filter - may be used by {@link TMXWriter} or {@link TMXFilterWriter}TMX_i = 16;- See Also:
- Constant Field Values
-
TMX_hi_VALUE
public static final int TMX_hi_VALUE
TMX_hi = 17;- See Also:
- Constant Field Values
-
TMX_x_VALUE
public static final int TMX_x_VALUE
TMX_x = 18;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Property.PropName[] 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 (Property.PropName c : Property.PropName.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Property.PropName 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
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static Property.PropName valueOf(int value)
Deprecated.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:
value- 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
-
forNumber
public static Property.PropName forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Property.PropName> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static Property.PropName valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
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:
desc- 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
-
-