|
Media Authoring with Java API |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objecttv.amwa.maj.entity.InterchangeObject
tv.amwa.maj.entity.Dictionary
@AAFClass(uuid1=218169601,
uuid2=257,
uuid3=8704,
uuid4={6,14,43,52,2,6,1,1},
definedName="Dictionary",
description="The Dictionary class has DefinitionObject objects.")
public class Dictionary
Implements a container for definitions. The dictionary specified here is both an AAF Dictionary and an AAF MetaDictionary. Every AAF file has a dictionary within its header and contains a representation of the meta dictionary.
THE COMMENTS FOR THIS CLASS ARE INCOMPLETE.
| Nested Class Summary | |
|---|---|
static class |
Dictionary.CodecDefinitionsXMLHandler
|
static class |
Dictionary.ContainerDefinitionsXMLHandler
|
static class |
Dictionary.DataDefinitionsXMLHandler
|
static class |
Dictionary.InterpolationDefinitionsXMLHandler
|
static class |
Dictionary.KLVDataDefinitionsXMLHandler
|
static class |
Dictionary.OperationDefinitionsXMLHandler
|
static class |
Dictionary.ParameterDefinitionsXMLHandler
|
static class |
Dictionary.PluginDefinitionsXMLHandler
|
static class |
Dictionary.TaggedValueDefinitionsXMLHandler
|
static class |
Dictionary.XMLHandler
|
| Nested classes/interfaces inherited from class tv.amwa.maj.entity.InterchangeObject |
|---|
InterchangeObject.InterchangeObjectXMLHandler |
| Field Summary | |
|---|---|
static String |
DICTIONARY_TAG
|
| Constructor Summary | |
|---|---|
Dictionary()
Creates and initializes a new dictionary object, which has the definition objects of an AAF persistent unit. |
|
| Method Summary | |
|---|---|
void |
appendXMLChildren(Node parent)
Append child elements to the given parent node to serialize the value of an object to an XML fragment. |
Dictionary |
clone()
Creates a cloned copy of this entity. |
int |
countClassDefinitions()
Returns the number of class definitions contained in this dictionary. |
int |
countCodecDefinitions()
Returns the number of codec definitions contained in this dictionary. |
int |
countContainerDefinitions()
Returns the number of container definitions contained in this dictionary. |
int |
countDataDefinitions()
Returns the number of data definitions contained in this dictionary. |
int |
countInterpolationDefinitions()
Returns the number of interpolation definitions contained in this dictionary. |
int |
countKLVDataDefinitions()
Returns the number of KLV data definitions contained in this dictionary. |
int |
countOpaqueTypeDefinitions()
Returns the number of opaque type definitions in the dictionary. |
int |
countOperationDefinitions()
Returns the number of operation definitions contained in this dictionary. |
int |
countParameterDefinitions()
Returns the number of parameter definitions contained in this dictionary. |
int |
countPluginDefinitions()
Returns the number of plugin definitions contained in this dictionary. |
int |
countTaggedValueDefinitions()
Returns the number of tagged value definitions contained in this dictionary. |
int |
countTypeDefinitions()
Returns the number of type definitions contained in the dictionary. |
void |
createForwardClassReference(AUID classId)
Creates a forward class reference that is used to allow a class definition to be referenced before it has had its full definition stored into this dictionary. |
InterchangeObject |
createInstance(AUID identification)
Creates a single uninitialized AAF object of the class associated with a specified stored object id. |
MetaDefinition |
createMetaInstance(AUID identification)
Creates a single uninitialized AAF meta class or type associated with a specified stored object id. |
Set<ClassDefinition> |
getClassDefinitions()
Returns the set of all class definitions in this dictionary. |
Set<CodecDefinition> |
getCodecDefinitions()
Returns a set of all the codec definitions contained in the dictionary. |
Set<ContainerDefinition> |
getContainerDefinitions()
Returns the set of all container definitions contained in this dictionary. |
Set<DataDefinition> |
getDataDefinitions()
Returns the set of data definitions contained in this dictionary. |
long |
getId()
|
Set<InterpolationDefinition> |
getInterpolationDefinitions()
Returns the set of interpolation definitions contained in this dictionary. |
Set<KLVDataDefinition> |
getKLVDataDefinitions()
Returns the set of KLV data definitions contained in this dictionary. |
Set<TypeDefinition> |
getOpaqueTypeDefinitions()
Return the set of all registered opaque type definitions in the dictionary. |
Set<OperationDefinition> |
getOperationDefinitions()
Returns the set of operation definitions contained in this dictionary. |
Set<ParameterDefinition> |
getParameterDefinitions()
Returns the set of parameter definitions contained in this dictionary. |
Set<PluginDefinition> |
getPluginDefinitions()
Returns the set of plugin definitions contained in this dictionary. |
Set<TaggedValueDefinition> |
getTaggedValueDefinitions()
Returns a set of all tagged value definitions contained in this dictionary. |
Set<TypeDefinition> |
getTypeDefinitions()
Returns the set of all type definitions contained within this dictionary. |
boolean |
hasForwardClassReference(AUID classId)
Returns true if the given class identification is a
forward reference registered with this dictionary. |
DataDefinition |
lookupAuxiliaryDataDefinition()
Returns the auxiliary data definition. |
ClassDefinition |
lookupClassDefinition(AUID id)
Returns the class definition with the given identifier that is contained in this dictionary. |
CodecDefinition |
lookupCodecDefinition(AUID codecId)
Returns the codec definition with the given identifier that is contained in this dictionary. |
ContainerDefinition |
lookupContainerDefinition(AUID containerId)
Returns the container definition with the given identifier that is contained in this dictionary. |
DataDefinition |
lookupDataDefinition(AUID dataDefinitionId)
Return the data definition with the given identifier that is contained in this dictionary. |
DataDefinition |
lookupDescriptiveMedadataDataDefinition()
Returns the descriptive metadata data definition. |
DataDefinition |
lookupEdgecodeDataDefinition()
Returns the edgecode data definition. |
InterpolationDefinition |
lookupInterpoliationDefinition(AUID interpolationId)
Returns the interpolation definition with the given identifier that is contained in this dictionary. |
KLVDataDefinition |
lookupKLVDataDefinition(AUID defId)
Returns the KLV data definition with the given identifier that is contained in this dictionary |
DataDefinition |
lookupLegacyPictureDataDefinition()
Returns the legacy picture data definition. |
DataDefinition |
lookupLegacySoundDataDefinition()
Returns the legacy sound data definition. |
DataDefinition |
lookupLegacyTimecodeDataDefinition()
Returns the legacy timecode data definition. |
DataDefinition |
lookupMatteDataDefinition()
Returns the matte data definition. |
TypeDefinition |
lookupOpaqueTypeDefinition(AUID typeId)
Return the opaque type definition with the given id. |
OperationDefinition |
lookupOperationDefinition(AUID operationId)
Return the operation definition with the given identifier that is contained in this dictionary. |
ParameterDefinition |
lookupParameterDefinition(AUID parameterId)
Returns the parameter definition with the given identifier that is contained in this dictionary. |
DataDefinition |
lookupPictureDataDefinition()
Returns the picture data definition. |
DataDefinition |
lookupPictureWithMatteDataDefinition()
Returns the picture with matte data definition. |
PluginDefinition |
lookupPluginDefinition(AUID pluginId)
Return the plugin definition with the given identifier that is contained in this dictionary. |
DataDefinition |
lookupSoundDataDefinition()
Returns a sound data definition. |
TaggedValueDefinition |
lookupTaggedValueDefinition(AUID defId)
Returns the tagged value definition with the given identifier that is contained in this dictionary. |
DataDefinition |
lookupTimecodeDataDefinition()
Returns the timecode data definition. |
TypeDefinition |
lookupTypeDefinition(AUID id)
Return the type definition with the given identifier that is contained within this dictionary. |
void |
registerClassDefinition(ClassDefinition classDef)
Add a class definition to those contained in this dictionary. |
void |
registerCodecDefinition(CodecDefinition codecDef)
Add a codec definition to those contained in this dictionary. |
void |
registerContainerDefinition(ContainerDefinition containerDefinition)
Add a container definition to those contained in this dictionary. |
void |
registerDataDefinition(DataDefinition dataDef)
Add a data definition to the those contained in this dictionary. |
void |
registerInterpolationDefinition(InterpolationDefinition interpolationDefinition)
Add an interpolation definition to those contained in this dictionary. |
void |
registerKLVDataDefinition(KLVDataDefinition klvDataDefinition)
Add a KLV data definition to those contained in the dictionary. |
void |
registerKLVDataKey(AUID uid,
TypeDefinition typeDef)
Add the definition for the given KLV key to the runtime dictionary. |
void |
registerOpaqueTypeDefinition(TypeDefinition typeDef)
Add the opaque type definition to the dictionary. |
void |
registerOperationDefinition(OperationDefinition operationDefinition)
Add a operation definition to those contained in the dictionary. |
void |
registerParameterDefinition(ParameterDefinition parameterDefinition)
Add a parameter definition to those contained in the dictionary. |
void |
registerPluginDefinition(PluginDefinition pluginDefinition)
Add a plugin definition to those contained in this dictionary. |
void |
registerTaggedValueDefinition(TaggedValueDefinition def)
Add the tagged value definition to those contained in this dictionary. |
void |
registerTypeDefinition(TypeDefinition typeDef)
Add a type definition to those contained in this dictionary. |
void |
setId(long id)
|
void |
setPropertiesFromInterface(Dictionary castFrom)
|
| Methods inherited from class tv.amwa.maj.entity.InterchangeObject |
|---|
castFromInterface, countProperties, createOptionalPropertyValue, disableGenerationTracking, enableGenerationTracking, getDefinition, getGeneration, getGenerationAUID, getProperties, getPropertyValue, isGenerationTracked, isPropertyPresent, omitOpionalProperty, registerImplementation, setPropertiesFromInterface, setPropertyValue, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface tv.amwa.maj.iface.InterchangeObject |
|---|
countProperties, createOptionalPropertyValue, disableGenerationTracking, enableGenerationTracking, getDefinition, getGeneration, getGenerationAUID, getProperties, getPropertyValue, isGenerationTracked, isPropertyPresent, omitOpionalProperty, setPropertyValue |
| Methods inherited from interface tv.amwa.maj.entity.MAJCommon |
|---|
equals, hashCode, toString |
| Field Detail |
|---|
public static final String DICTIONARY_TAG
| Constructor Detail |
|---|
public Dictionary()
Creates and initializes a new dictionary object, which has the definition objects of an AAF persistent unit. All the sets of items in the dictionary are initialized to empty sets.
| Method Detail |
|---|
public final void setPropertiesFromInterface(Dictionary castFrom)
public int countClassDefinitions()
DictionaryReturns the number of class definitions contained in this dictionary.
countClassDefinitions in interface Dictionarypublic int countCodecDefinitions()
DictionaryReturns the number of codec definitions contained in this dictionary.
countCodecDefinitions in interface Dictionarypublic int countContainerDefinitions()
DictionaryReturns the number of container definitions contained in this dictionary.
countContainerDefinitions in interface Dictionarypublic int countDataDefinitions()
DictionaryReturns the number of data definitions contained in this dictionary.
countDataDefinitions in interface Dictionarypublic int countInterpolationDefinitions()
DictionaryReturns the number of interpolation definitions contained in this dictionary.
countInterpolationDefinitions in interface Dictionarypublic int countKLVDataDefinitions()
DictionaryReturns the number of KLV data definitions contained in this dictionary.
countKLVDataDefinitions in interface Dictionarypublic int countOpaqueTypeDefinitions()
DictionaryReturns the number of opaque type definitions in the dictionary.
countOpaqueTypeDefinitions in interface Dictionarypublic int countOperationDefinitions()
DictionaryReturns the number of operation definitions contained in this dictionary.
countOperationDefinitions in interface Dictionarypublic int countParameterDefinitions()
DictionaryReturns the number of parameter definitions contained in this dictionary.
countParameterDefinitions in interface Dictionarypublic int countPluginDefinitions()
DictionaryReturns the number of plugin definitions contained in this dictionary.
countPluginDefinitions in interface Dictionarypublic int countTaggedValueDefinitions()
Dictionary
countTaggedValueDefinitions in interface Dictionarypublic int countTypeDefinitions()
DictionaryReturns the number of type definitions contained in the dictionary.
countTypeDefinitions in interface Dictionary
public void createForwardClassReference(AUID classId)
throws InvalidParameterException
DictionaryCreates a forward class reference that is used to allow a class definition to be referenced before it has had its full definition stored into this dictionary.
createForwardClassReference in interface DictionaryclassId - Unique class identifier for the forward reference.
InvalidParameterException - The given ID represents an existing
forward class reference or a class definition that has already been
successfully registered.
public InterchangeObject createInstance(AUID identification)
throws NotImplementedException
DictionaryCreates a single uninitialized AAF object of the class associated with a specified stored object id. This method is not implemented in the MAJ API as it is not possible to create an uninitialized object. This methods always throws an NotImplementedException and the functionality is replaced by the AAF factory.
This method is a factory for creating objects found within an AAF file.
createInstance in interface Dictionaryidentification - Class identifier (id) of the stored object. This is the
corresponding SMPTE identifier (as a GUID) for all predefined built-in
classes.
NotImplementedException - This method is not implemented in the MAJ
API.AAFFactory
public MetaDefinition createMetaInstance(AUID identification)
throws NotImplementedException
DictionaryCreates a single uninitialized AAF meta class or type associated with a specified stored object id. This method is not implemented in the MAJ API as it is not possible to create an uninitialized object. This methods always throws an NotImplementedException and the functionality is replaced by the AAF factory.
createMetaInstance in interface Dictionaryidentification - Identifier (id) of a class or type definition. This is
the corresponding SMPTE identifier (as a GUID) for all predefined
built-in definitions.
NotImplementedException - This method is not implemented in the MAJ
API.AAFFactory
@AAFProperty(uuid1=100729095,
uuid2=1792,
uuid3=0,
uuid4={6,14,43,52,1,1,1,2},
definedName="ClassDefinitions",
typeName="StrongReferenceSet of ClassDefinition",
optional=true,
uniqueIdentifier=false,
pid=3)
public Set<ClassDefinition> getClassDefinitions()
DictionaryReturns the set of all class definitions in this dictionary.
getClassDefinitions in interface Dictionary
@AAFProperty(uuid1=100729092,
uuid2=1287,
uuid3=0,
uuid4={6,14,43,52,1,1,1,2},
definedName="CodecDefinitions",
typeName="StrongReferenceSet of CodecDefinition",
optional=true,
uniqueIdentifier=false,
pid=9735)
public Set<CodecDefinition> getCodecDefinitions()
DictionaryReturns a set of all the codec definitions contained in the dictionary.
getCodecDefinitions in interface Dictionary
@AAFProperty(uuid1=100729092,
uuid2=1288,
uuid3=0,
uuid4={6,14,43,52,1,1,1,2},
definedName="ContainerDefinitions",
typeName="StrongReferenceSet of ContainerDefinition",
optional=true,
uniqueIdentifier=false,
pid=9736)
public Set<ContainerDefinition> getContainerDefinitions()
DictionaryReturns the set of all container definitions contained in this dictionary.
getContainerDefinitions in interface Dictionary
@AAFProperty(uuid1=100729092,
uuid2=1285,
uuid3=0,
uuid4={6,14,43,52,1,1,1,2},
definedName="DataDefinitions",
typeName="StrongReferenceSet of DataDefinition",
optional=true,
uniqueIdentifier=false,
pid=9733)
public Set<DataDefinition> getDataDefinitions()
DictionaryReturns the set of data definitions contained in this dictionary.
getDataDefinitions in interface Dictionary
@AAFProperty(uuid1=100729092,
uuid2=1289,
uuid3=0,
uuid4={6,14,43,52,1,1,1,2},
definedName="InterpolationDefinitions",
typeName="StrongReferenceSet of InterpolationDefinition",
optional=true,
uniqueIdentifier=false,
pid=9737)
public Set<InterpolationDefinition> getInterpolationDefinitions()
DictionaryReturns the set of interpolation definitions contained in this dictionary.
getInterpolationDefinitions in interface Dictionary
@AAFProperty(uuid1=100729092,
uuid2=1290,
uuid3=0,
uuid4={6,14,43,52,1,1,1,7},
definedName="KLVDataDefinitions",
typeName="StrongReferenceSet of KLVDataDefinition",
optional=true,
uniqueIdentifier=false,
pid=9738)
public Set<KLVDataDefinition> getKLVDataDefinitions()
DictionaryReturns the set of KLV data definitions contained in this dictionary.
getKLVDataDefinitions in interface Dictionarypublic Set<TypeDefinition> getOpaqueTypeDefinitions()
DictionaryReturn the set of all registered opaque type definitions in the dictionary.
getOpaqueTypeDefinitions in interface Dictionary
@AAFProperty(uuid1=100729092,
uuid2=1283,
uuid3=0,
uuid4={6,14,43,52,1,1,1,2},
definedName="OperationDefinitions",
typeName="StrongReferenceSet of OperationDefinition",
optional=true,
uniqueIdentifier=false,
pid=9731)
public Set<OperationDefinition> getOperationDefinitions()
DictionaryReturns the set of operation definitions contained in this dictionary.
getOperationDefinitions in interface Dictionary
@AAFProperty(uuid1=100729092,
uuid2=1284,
uuid3=0,
uuid4={6,14,43,52,1,1,1,2},
definedName="ParameterDefinitions",
typeName="StrongReferenceSet of ParameterDefinition",
optional=true,
uniqueIdentifier=false,
pid=9732)
public Set<ParameterDefinition> getParameterDefinitions()
DictionaryReturns the set of parameter definitions contained in this dictionary.
getParameterDefinitions in interface Dictionary
@AAFProperty(uuid1=100729092,
uuid2=1286,
uuid3=0,
uuid4={6,14,43,52,1,1,1,2},
definedName="PluginDefinitions",
typeName="StrongReferenceSet of PluginDefinition",
optional=true,
uniqueIdentifier=false,
pid=9734)
public Set<PluginDefinition> getPluginDefinitions()
DictionaryReturns the set of plugin definitions contained in this dictionary.
getPluginDefinitions in interface Dictionary
@AAFProperty(uuid1=100729092,
uuid2=1291,
uuid3=0,
uuid4={6,14,43,52,1,1,1,7},
definedName="TaggedValueDefinitions",
typeName="StrongReferenceSet of TaggedValueDefinition",
optional=true,
uniqueIdentifier=false,
pid=9739)
public Set<TaggedValueDefinition> getTaggedValueDefinitions()
DictionaryReturns a set of all tagged value definitions contained in this dictionary.
getTaggedValueDefinitions in interface Dictionary
@AAFProperty(uuid1=100729095,
uuid2=2048,
uuid3=0,
uuid4={6,14,43,52,1,1,1,2},
definedName="TypeDefinitions",
typeName="StrongReferenceSet of TypeDefinition",
optional=true,
uniqueIdentifier=false,
pid=4)
public Set<TypeDefinition> getTypeDefinitions()
DictionaryReturns the set of all type definitions contained within this dictionary.
getTypeDefinitions in interface Dictionary
public boolean hasForwardClassReference(AUID classId)
throws InvalidParameterException
DictionaryReturns true if the given class identification is a
forward reference registered with this dictionary.
hasForwardClassReference in interface DictionaryclassId - Unique class identifier.
InvalidParameterException - The given ID is not recognized as a
class definition id.public DataDefinition lookupAuxiliaryDataDefinition()
DictionaryReturns the auxiliary data definition. This is a built-in data definition for auxiliary data.
lookupAuxiliaryDataDefinition in interface DictionaryAAFFactory.dataDefinitionForName(String),
DataDefinitionConstant.Auxiliary
public ClassDefinition lookupClassDefinition(AUID id)
throws NullPointerException,
InvalidParameterException
DictionaryReturns the class definition with the given identifier that is contained in this dictionary.
lookupClassDefinition in interface Dictionaryid - Unique identifier for a class contained in this dictionary.
NullPointerException - Argument is null.
InvalidParameterException - The given class identifier does not match a class
definition stored in this dictionary.ClassDefinitionWarehouse.forClass(Class),
AAFClass
public CodecDefinition lookupCodecDefinition(AUID codecId)
throws NullPointerException,
InvalidParameterException
DictionaryReturns the codec definition with the given identifier that is contained in this dictionary.
lookupCodecDefinition in interface DictionarycodecId - Identifier for a codec definition contained in this dictionary.
NullPointerException - The given identifier is null.
InvalidParameterException - The given identifier does not match a
codec definition contained in this dictionary.
public ContainerDefinition lookupContainerDefinition(AUID containerId)
throws NullPointerException,
InvalidParameterException
DictionaryReturns the container definition with the given identifier that is contained in this dictionary.
lookupContainerDefinition in interface DictionarycontainerId - Identifier for a container definition contained in this dictionary.
NullPointerException - The given identifier is null.
InvalidParameterException - The given identifier does not match a
codec definition contained in this dictionary.
public DataDefinition lookupDataDefinition(AUID dataDefinitionId)
throws NullPointerException,
InvalidParameterException
DictionaryReturn the data definition with the given identifier that is contained in this dictionary.
lookupDataDefinition in interface DictionarydataDefinitionId - Unique identifier for a data definition contained in this dictionary.
NullPointerException - The given identifier is null.
InvalidParameterException - A data definition with the given id could not
be found in this dictionary.public DataDefinition lookupDescriptiveMedadataDataDefinition()
DictionaryReturns the descriptive metadata data definition. This is a built-in data definition for descriptive metadata.
lookupDescriptiveMedadataDataDefinition in interface DictionaryAAFFactory.dataDefinitionForName(String),
DataDefinitionConstant.DescriptiveMetadatapublic DataDefinition lookupEdgecodeDataDefinition()
DictionaryReturns the edgecode data definition. This is a built-in data definition for a stream of film edge code values.
lookupEdgecodeDataDefinition in interface DictionaryAAFFactory.dataDefinitionForName(String),
DataDefinitionConstant.Edgecode
public InterpolationDefinition lookupInterpoliationDefinition(AUID interpolationId)
throws NullPointerException,
InvalidParameterException
DictionaryReturns the interpolation definition with the given identifier that is contained in this dictionary.
lookupInterpoliationDefinition in interface DictionaryinterpolationId - Identifier for an interpolation definition contained in this dictionary.
NullPointerException - The given identifier is null.
InvalidParameterException - The given identifier does not match
that of an interpolation definition contained in this dictionary.
public KLVDataDefinition lookupKLVDataDefinition(AUID defId)
throws NullPointerException,
InvalidParameterException
DictionaryReturns the KLV data definition with the given identifier that is contained in this dictionary
lookupKLVDataDefinition in interface DictionarydefId - Identifier for a KLV data definition contained in this dictionary.
NullPointerException - The given KLV data definition is null.
InvalidParameterException - The given id does not match that of a KLV data definition
in the dictionary.public DataDefinition lookupLegacyPictureDataDefinition()
DictionaryReturns the legacy picture data definition. This is a built-in data definition for a stream of essence that contains image data.
lookupLegacyPictureDataDefinition in interface DictionaryDataDefinitionConstant.LegacyPicturepublic DataDefinition lookupLegacySoundDataDefinition()
DictionaryReturns the legacy sound data definition. This is a built-in data definition essence that contains a single channel of sound.
lookupLegacySoundDataDefinition in interface DictionaryDataDefinitionConstant.LegacySoundpublic DataDefinition lookupLegacyTimecodeDataDefinition()
DictionaryReturns the legacy timecode data definition. This is a built-in data definition for a stream of tape timecode values.
lookupLegacyTimecodeDataDefinition in interface DictionaryDataDefinitionConstant.LegacyTimecodepublic DataDefinition lookupMatteDataDefinition()
DictionaryReturns the matte data definition. This is a built-in data definition for a stream of essence that contains alpha values.
lookupMatteDataDefinition in interface DictionaryDataDefinitionConstant.Matte
public TypeDefinition lookupOpaqueTypeDefinition(AUID typeId)
throws NullPointerException,
InvalidParameterException
DictionaryReturn the opaque type definition with the given id.
lookupOpaqueTypeDefinition in interface DictionarytypeId - Unique type ID.
NullPointerException - Argument is null.
InvalidParameterException - The given ID is not recognized as
a type definition ID.
public OperationDefinition lookupOperationDefinition(AUID operationId)
throws NullPointerException,
InvalidParameterException
DictionaryReturn the operation definition with the given identifier that is contained in this dictionary.
lookupOperationDefinition in interface DictionaryoperationId - Identifier of an operation definition contained in this dictionary.
NullPointerException - The given identifier is null.
InvalidParameterException - The given identifier does not match that of an operation
definition contained in this dictionary.
public ParameterDefinition lookupParameterDefinition(AUID parameterId)
throws NullPointerException,
InvalidParameterException
DictionaryReturns the parameter definition with the given identifier that is contained in this dictionary.
lookupParameterDefinition in interface DictionaryparameterId - Identifier for a parameter definition contained in this dictionary.
NullPointerException - The given identifier is null.
InvalidParameterException - The given identifier does not match a
parameter definition contained in this dictionary.public DataDefinition lookupPictureDataDefinition()
DictionaryReturns the picture data definition. This is a built-in data definition for a stream of essence that contains image data.
lookupPictureDataDefinition in interface DictionaryAAFFactory.dataDefinitionForName(String),
DataDefinitionConstant.Picturepublic DataDefinition lookupPictureWithMatteDataDefinition()
DictionaryReturns the picture with matte data definition. This is a built-in data definition for a stream of essence that contains image data and a matte.
lookupPictureWithMatteDataDefinition in interface DictionaryAAFFactory.dataDefinitionForName(String),
DataDefinitionConstant.PictureWithMatte
public PluginDefinition lookupPluginDefinition(AUID pluginId)
throws NullPointerException,
InvalidParameterException
DictionaryReturn the plugin definition with the given identifier that is contained in this dictionary.
lookupPluginDefinition in interface DictionarypluginId - Identifier for a plugin definition contained in this dictionary.
NullPointerException - The given identifier is null.
InvalidParameterException - The given identifier does not match that of
a plugin definition contained in this dictionary.public DataDefinition lookupSoundDataDefinition()
DictionaryReturns a sound data definition. This is a built-in data definition for a a stream of essence that contains a single channel of sound.
lookupSoundDataDefinition in interface DictionaryAAFFactory.dataDefinitionForName(String),
DataDefinitionConstant.Soundpublic DataDefinition lookupTimecodeDataDefinition()
DictionaryReturns the timecode data definition. This is a built-in
data definition for a stream of tape
timecode values.
lookupTimecodeDataDefinition in interface DictionaryAAFFactory.dataDefinitionForName(String),
DataDefinitionConstant.Timecode
public TaggedValueDefinition lookupTaggedValueDefinition(AUID defId)
throws NullPointerException,
InvalidParameterException
DictionaryReturns the tagged value definition with the given identifier that is contained in this dictionary.
lookupTaggedValueDefinition in interface DictionarydefId - ID of the tagged value definition to lookup in the
dictionary.
NullPointerException - The given identifier is null.
InvalidParameterException - The given identifier does not match that of
a tagged value definition contained in this dictionary.
public TypeDefinition lookupTypeDefinition(AUID id)
throws NullPointerException,
InvalidParameterException
DictionaryReturn the type definition with the given identifier that is contained within this dictionary.
lookupTypeDefinition in interface Dictionaryid - Unique identifier for the type definition contained in this dictionary.
NullPointerException - The given type identifier is null.
InvalidParameterException - The given identifier does not match that of a type
definition contained in this dictionary.
public void registerClassDefinition(ClassDefinition classDef)
throws InvalidParameterException,
NullPointerException
DictionaryAdd a class definition to those contained in this dictionary.
registerClassDefinition in interface DictionaryclassDef - Class definition to add.
InvalidParameterException - A class definition with the same identifier
is already contained in this dictionary.
NullPointerException - The given class definition is null.AAFFactory.classDefinitionForClass(Class),
AAFFactory.classDefinitionForName(String),
ClassDefinitionWarehouse
public void registerCodecDefinition(CodecDefinition codecDef)
throws NullPointerException,
InvalidParameterException
DictionaryAdd a codec definition to those contained in this dictionary.
registerCodecDefinition in interface DictionarycodecDef - Codec definition to add.
NullPointerException - The given codec definition is null.
InvalidParameterException - A codec definition with
the same identifier is already contained in this dictionary.CodecConstant,
CodecDefinition.forName(String),
CodecDefinition.forIdentification(AUID)
public void registerContainerDefinition(ContainerDefinition containerDefinition)
throws NullPointerException,
InvalidParameterException
DictionaryAdd a container definition to those contained in this dictionary.
registerContainerDefinition in interface DictionarycontainerDefinition - Container definition to add.
NullPointerException - The given container definition is null.
InvalidParameterException - A container definition with
the same identifier is already contained in this dictionary.ContainerConstant,
ContainerDefinition.forName(String),
ContainerDefinition.forIdentification(AUID)
public void registerDataDefinition(DataDefinition dataDef)
throws NullPointerException,
InvalidParameterException
DictionaryAdd a data definition to the those contained in this dictionary.
registerDataDefinition in interface DictionarydataDef - Data definition to add.
NullPointerException - The given data definition is null.
InvalidParameterException - A data definition with the
same identifier is already contained in this dictionary.DataDefinitionConstant,
AAFFactory.dataDefinitionForName(String),
DataDefinition.forName(String),
DataDefinition.forIdentification(AUID)
public void registerInterpolationDefinition(InterpolationDefinition interpolationDefinition)
throws NullPointerException,
InvalidParameterException
DictionaryAdd an interpolation definition to those contained in this dictionary.
registerInterpolationDefinition in interface DictionaryinterpolationDefinition - Interpolation definition to add.
NullPointerException - The given interpolation definition is null.
InvalidParameterException - An interpolation definition with
the same identifier is already contained in this dictionary.InterpolationConstant,
InterpolationDefinition.forName(String),
InterpolationDefinition.forIdentification(AUID)
public void registerKLVDataDefinition(KLVDataDefinition klvDataDefinition)
throws NullPointerException,
InvalidParameterException
DictionaryAdd a KLV data definition to those contained in the dictionary.
registerKLVDataDefinition in interface DictionaryklvDataDefinition - KLV data definition to add to the dictionary.
NullPointerException - The given KLV data definition is null.
InvalidParameterException - The given KLV data definition has the same identifier
as one already contained in the dictionary.
public void registerKLVDataKey(AUID uid,
TypeDefinition typeDef)
throws NullPointerException,
InvalidParameterException
DictionaryAdd the definition for the given KLV key to the runtime dictionary.
The typeDef parameters will often be
TypeID_UInt8Array but may be something else.
registerKLVDataKey in interface Dictionaryuid - Key to define.typeDef - Type definition object for the key.
NullPointerException - Argument is null.
InvalidParameterException - The specified KLV key has already
been registered.
public void registerOpaqueTypeDefinition(TypeDefinition typeDef)
throws NullPointerException,
InvalidParameterException
DictionaryAdd the opaque type definition to the dictionary.
An opaque type definition defines a property type that has a value whose type is specified in each instance.
registerOpaqueTypeDefinition in interface DictionarytypeDef - Type definition object.
NullPointerException - Argument is null.
InvalidParameterException - The given type has already
been registered.
public void registerOperationDefinition(OperationDefinition operationDefinition)
throws NullPointerException,
InvalidParameterException
DictionaryAdd a operation definition to those contained in the dictionary.
registerOperationDefinition in interface DictionaryoperationDefinition - Operation definition to add.
NullPointerException - The given operation definition is null.
InvalidParameterException - An operation definition with the
same identifier is already contained in this dictionary.OperationConstant,
OperationDefinition.forName(String),
OperationDefinition.forIdentification(AUID)
public void registerParameterDefinition(ParameterDefinition parameterDefinition)
throws NullPointerException,
InvalidParameterException
DictionaryAdd a parameter definition to those contained in the dictionary.
registerParameterDefinition in interface DictionaryparameterDefinition - Parameter definition to add.
NullPointerException - The given parameter definition is null.
InvalidParameterException - A parameter definition with the
same identifier is already contained in this dictionary.ParameterConstant,
ParameterDefinition.forName(String),
ParameterDefinition.forIdentification(AUID)
public void registerPluginDefinition(PluginDefinition pluginDefinition)
throws NullPointerException,
InvalidParameterException
DictionaryAdd a plugin definition to those contained in this dictionary.
registerPluginDefinition in interface DictionarypluginDefinition - Plugin definition to add.
NullPointerException - The given plugin definition is null.
InvalidParameterException - A plugin definition with
the same identifier is already contained in this dictionary.
public void registerTaggedValueDefinition(TaggedValueDefinition def)
throws NullPointerException,
InvalidParameterException
DictionaryAdd the tagged value definition to those contained in this dictionary.
registerTaggedValueDefinition in interface Dictionarydef - Tagged value definition to add to the dictionary.
NullPointerException - The given tagged value definition is null.
InvalidParameterException - The given tagged value definition has the same
identifier as one already contained in the dictionary.
public void registerTypeDefinition(TypeDefinition typeDef)
throws NullPointerException,
InvalidParameterException
DictionaryAdd a type definition to those contained in this dictionary.
registerTypeDefinition in interface DictionarytypeDef - Type definition to add to this dictionary.
NullPointerException - The given type definition is null.
InvalidParameterException - The given type has an id that matches
the id of a type definition already contained in the dictionary.AAFFactory.typeDefinitionForName(String),
AAFFactory.typeDefinitionForIdentification(AUID),
TypeDefinitionWarehousepublic long getId()
public void setId(long id)
public Dictionary clone()
MAJCommonCreates a cloned copy of this entity. The clone will be initialized to have the same value as this value but exists independently from then on. Changes to this value will not effect the clone and changes to the clone will not effect this. MAJ API clones are true deep clones with no shared references to areas of memory within the original.
This method does not throw a CloneNotSupportedException as all
entity values must implement the Cloneable interface. If a cloning
error does occur, a null value will be returned but this is very unlikely
to happen.
clone in interface MAJCommonclone in class ObjectObject.clone()public void appendXMLChildren(Node parent)
XMLSerializableAppend child elements to the given parent node to serialize the value of an object
to an XML fragment. Methods of the XMLBuilder class are provided to help with this
process.
appendXMLChildren in interface XMLSerializableappendXMLChildren in class InterchangeObjectparent - XML parent element to append child nodes to.
|
Media Authoring with Java API |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||