Package org.xtce.toolkit
Enum XTCETypedObject.RawType
- java.lang.Object
-
- java.lang.Enum<XTCETypedObject.RawType>
-
- org.xtce.toolkit.XTCETypedObject.RawType
-
- All Implemented Interfaces:
Serializable,Comparable<XTCETypedObject.RawType>
- Enclosing class:
- XTCETypedObject
public static enum XTCETypedObject.RawType extends Enum<XTCETypedObject.RawType>
Enumeration representing the Raw/Encoding type of an item in the XTCE data model.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BCDRaw/Encoding type is Binary Coded Data.binaryRaw/Encoding type is simple binary data.IEEE754_1985Raw/Encoding type is an IEEE 754 floating point value.MILSTD_1750ARaw/Encoding type is a MIL-STD 1750A floating point value.onesComplementRaw/Encoding type is an integer of signed values differentiated by ones complement representation.packedBCDRaw/Encoding type is Packed Binary Coded Data.signMagnitudeRaw/Encoding type is an integer of signed values differentiated by the value of the most significant bit.twosComplementRaw/Encoding type is an integer of signed values differentiated by twos complement representation.UNKNOWNRaw/Encoding type could not be determined.unsignedRaw/Encoding type is an integer of unsigned values.UTF16Raw/Encoding type is a UTF-16 encoding string value.UTF8Raw/Encoding type is a UTF-8 encoding string value.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static XTCETypedObject.RawTypevalueOf(String name)Returns the enum constant of this type with the specified name.static XTCETypedObject.RawType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final XTCETypedObject.RawType UNKNOWN
Raw/Encoding type could not be determined.
-
unsigned
public static final XTCETypedObject.RawType unsigned
Raw/Encoding type is an integer of unsigned values.
-
signMagnitude
public static final XTCETypedObject.RawType signMagnitude
Raw/Encoding type is an integer of signed values differentiated by the value of the most significant bit.
-
onesComplement
public static final XTCETypedObject.RawType onesComplement
Raw/Encoding type is an integer of signed values differentiated by ones complement representation.
-
twosComplement
public static final XTCETypedObject.RawType twosComplement
Raw/Encoding type is an integer of signed values differentiated by twos complement representation.
-
BCD
public static final XTCETypedObject.RawType BCD
Raw/Encoding type is Binary Coded Data. NOTE: Not yet supported by this toolkit.
-
packedBCD
public static final XTCETypedObject.RawType packedBCD
Raw/Encoding type is Packed Binary Coded Data. NOTE: Not yet supported by this toolkit.
-
binary
public static final XTCETypedObject.RawType binary
Raw/Encoding type is simple binary data.
-
IEEE754_1985
public static final XTCETypedObject.RawType IEEE754_1985
Raw/Encoding type is an IEEE 754 floating point value.
-
MILSTD_1750A
public static final XTCETypedObject.RawType MILSTD_1750A
Raw/Encoding type is a MIL-STD 1750A floating point value. NOTE: Not yet supported by this toolkit.
-
UTF8
public static final XTCETypedObject.RawType UTF8
Raw/Encoding type is a UTF-8 encoding string value.
-
UTF16
public static final XTCETypedObject.RawType UTF16
Raw/Encoding type is a UTF-16 encoding string value. NOTE: Only partially supported by this toolkit.
-
-
Method Detail
-
values
public static XTCETypedObject.RawType[] 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 (XTCETypedObject.RawType c : XTCETypedObject.RawType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static XTCETypedObject.RawType 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
-
-