|
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<LookupTable.Strategy> tv.amwa.maj.util.LookupTable.Strategy
public static enum LookupTable.Strategy
Defines the kind of strategy used to represent a particular AAF data type in the MAJ API.
Enum Constant Summary | |
---|---|
AbstractUnion
The representation of a data type in the C-based AAF SDK defined as a union . |
|
Annotation
The representation of an AAF data type using a Java class or primitive type that should also be labelled with an annotation taken from the integer or miscellaneous type packages. |
|
Class
The representation of an AAF data type using a Java interface and implementing class. |
|
Enumeration
The representation of the AAF data type uses a Java enumeration. |
Method Summary | |
---|---|
static LookupTable.Strategy |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static LookupTable.Strategy[] |
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 |
Enum Constant Detail |
---|
public static final LookupTable.Strategy Enumeration
The representation of the AAF data type uses a Java
enumeration. For example, the AAF
enumeration EditHintType
defined in the AAF object
specification is represented by the Java enumeration
EditHintType
. All such enumerations
are defined in the enumeration
package.
public static final LookupTable.Strategy Class
The representation of an AAF data type using a Java interface and
implementing class. For example, the AAF data type
Timestamp
is represented in Java by the interface
TimeStamp
and implemented by class
TimeStamp
. The fields of the AAF data
type as defined as a C structure in the AAF SDK have been translated
to get and set methods of the interface.
public static final LookupTable.Strategy Annotation
The representation of an AAF data type using a Java class or
primitive type that should also be labelled with an annotation taken
from the integer or
miscellaneous type packages.
For example, the FrameOffset
AAF type is represented in Java by the
primitive type long
and values should be labelled with
the Java annotation FrameOffset
.
public static final LookupTable.Strategy AbstractUnion
The representation of a data type in the C-based AAF SDK defined as a
union
. This is represented in Java as an abstract
interface that is inherited by sub-interfaces representing the
alternative values of the C union. Examples of interfaces for
abstract union classes can be found in the union
package, with implementations in the argument
package.
Method Detail |
---|
public static final LookupTable.Strategy[] values()
for(LookupTable.Strategy c : LookupTable.Strategy.values()) System.out.println(c);
public static LookupTable.Strategy 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
|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |