|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<TypeCategory> tv.amwa.maj.enumeration.TypeCategory
public enum TypeCategory
Specifies a categorisation of an AAF data type. The enumeration can be used to define the type of a property value.
The ordinal value used to represent a type category can be converted into an element of this
enumeration type using the fromOrdinal(int)
method.
Original C name: eTypeCategory_e
TypeDefinition
,
PropertyValue
Enum Constant Summary | |
---|---|
Character
Any character type. |
|
Encrypted
Type can be determined at runtime but bits are encrypted. |
|
Enum
Enumerated type. |
|
ExtEnum
Extendible enumerated type. |
|
FixedArray
Fixed-size array. |
|
Indirect
Type must be determined at runtime. |
|
Int
Any integral type. |
|
Opaque
Type can be determined at runtime. |
|
Record
A structured type. |
|
Rename
Renamed type. |
|
Set
Set of strong object references or set of weak object references. |
|
Stream
Potentially huge amount of data. |
|
String
Null-terminated variably-sized array of characters. |
|
StrongObjRef
Strong object reference. |
|
Unknown
Data type of the value is unknown. |
|
VariableArray
Variably-sized array. |
|
WeakObjRef
Weak object reference. |
Method Summary | |
---|---|
static TypeCategory |
fromOrdinal(int categoryIdentifier)
Returns the enumeration element representing the type category given by the specified ordinal value. |
long |
value()
Returns the unique integer value associated with an enumeration value, either according to the AAF specification and/or the current AAF meta dictionary. |
static TypeCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TypeCategory[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface tv.amwa.maj.enumeration.AAFEnumerationValue |
---|
name |
Enum Constant Detail |
---|
public static final TypeCategory Unknown
Data type of the value is unknown. This situation can only occur in damaged files.
public static final TypeCategory Int
Any integral type.
TypeDefinitionInteger
public static final TypeCategory Character
Any character type.
TypeDefinitionCharacter
public static final TypeCategory StrongObjRef
Strong object reference.
TypeDefinitionStrongObjectReference
public static final TypeCategory WeakObjRef
Weak object reference.
TypeDefinitionWeakObjectReference
public static final TypeCategory Rename
Renamed type.
TypeDefinitionRename
public static final TypeCategory Enum
Enumerated type.
TypeDefinitionEnumeration
public static final TypeCategory FixedArray
Fixed-size array.
TypeDefinitionFixedArray
public static final TypeCategory VariableArray
Variably-sized array.
TypeDefinitionVariableArray
public static final TypeCategory Set
Set of strong object references or set of weak object references.
TypeDefinitionSet
public static final TypeCategory Record
A structured type.
TypeDefinitionRecord
public static final TypeCategory Stream
Potentially huge amount of data.
TypeDefinitionStream
public static final TypeCategory String
Null-terminated variably-sized array of characters.
TypeDefinitionString
public static final TypeCategory ExtEnum
Extendible enumerated type.
TypeDefinitionExtendibleEnumeration
public static final TypeCategory Indirect
Type must be determined at runtime.
TypeDefinitionIndirect
public static final TypeCategory Opaque
Type can be determined at runtime.
TypeDefinitionOpaque
public static final TypeCategory Encrypted
Type can be determined at runtime but bits are encrypted.
Method Detail |
---|
public static final TypeCategory[] values()
for(TypeCategory c : TypeCategory.values()) System.out.println(c);
public static TypeCategory valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name@Int64 public long value()
AAFEnumerationValue
Returns the unique integer value associated with an enumeration value, either according to the AAF specification and/or the current AAF meta dictionary.
value
in interface AAFEnumerationValue
public static final TypeCategory fromOrdinal(int categoryIdentifier)
Returns the enumeration element representing the type category given by the specified ordinal value.
categoryIdentifier
- Specified ordinal representing a type category.
Unknown
if the value is not recognised.
|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |