|
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.Objectjava.lang.Enum<MaterialType>
tv.amwa.maj.enumeration.MaterialType
public enum MaterialType
Identifies the material type of content according the the SMPTE UMID specification SMPTE S330M. Elements of the enumeration are taken from table 2 in section 5.1.1.1.
To find the corresponding byte value of the given material type identifier, call
getMaterialTypeCode()
. The static method materialTypeFromCode(byte)
converts the
byte value code into a value of this enumeration.
MobID
,
MobIDType
,
MobID
Enum Constant Summary | |
---|---|
Audio
Deprecated. Use SingleAudio or TwoAudiosOrMore instead. |
|
Data
Deprecated. Use SingleAuxilary or TwoAuxilarysOrMore instead. |
|
MixedGroup
Mixed group of components in a single container. |
|
NotIdentified
Material type is not identified. |
|
Other
Deprecated. Use NotIdentified instead. |
|
Picture
Deprecated. Use SinglePicture or TwoPicturesOrMore instead. |
|
SingleAudio
Single audio component. |
|
SingleAuxilary
Single auxiliary (or data) component. |
|
SinglePicture
Single picture component. |
|
TwoAudiosOrMore
Two or more audio components in a single container. |
|
TwoAuxilarysOrMore
Two or more auxiliary (or data) components in a single container. |
|
TwoPicturesOrMore
Two or more picture components in a single container. |
Method Summary | |
---|---|
byte |
getMaterialTypeCode()
Returns the byte value of the material type, as defined in table 2 of SMPTE S330M. |
static MaterialType |
materialTypeFromCode(byte code)
Converts a byte code for a material type into a value of this enumeration, as defined in table 2 of SMPTE S330M. |
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 MaterialType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static MaterialType[] |
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 |
---|
@Deprecated public static final MaterialType Picture
SinglePicture
or TwoPicturesOrMore
instead.Picture material (deprecated).
public static final MaterialType Audio
SingleAudio
or TwoAudiosOrMore
instead.Audio material (deprecated).
public static final MaterialType Data
SingleAuxilary
or TwoAuxilarysOrMore
instead.Data material (deprecated).
public static final MaterialType Other
NotIdentified
instead.Other material (deprecated).
public static final MaterialType SinglePicture
Single picture component. For example, Y component.
public static final MaterialType TwoPicturesOrMore
Two or more picture components in a single container. For example, interleaved Y, Cb and Cr components.
public static final MaterialType SingleAudio
Single audio component. For example, mono audio.
public static final MaterialType TwoAudiosOrMore
Two or more audio components in a single container. For example, AES3 audio pair.
public static final MaterialType SingleAuxilary
Single auxiliary (or data) component. For example, sub-titles only.
public static final MaterialType TwoAuxilarysOrMore
Two or more auxiliary (or data) components in a single container. For example, multiple sub-titles streams in different languages.
public static final MaterialType MixedGroup
Mixed group of components in a single container. For example, video & stereo audio pair.
public static final MaterialType NotIdentified
Material type is not identified.
Method Detail |
---|
public static final MaterialType[] values()
for(MaterialType c : MaterialType.values()) System.out.println(c);
public static MaterialType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified namepublic byte getMaterialTypeCode()
Returns the byte value of the material type, as defined in table 2 of SMPTE S330M.
public static final MaterialType materialTypeFromCode(byte code)
Converts a byte code for a material type into a value of this enumeration, as defined in table 2 of SMPTE S330M.
code
- Code to convert to an enumeration value.
null
if a match
could not be found.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
|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |