@MediaClass(uuid1=218169601, uuid2=257, uuid3=16640, uuid4={6,14,43,52,2,6,1,1}, definedName="DescriptiveMarker", description="The DescriptiveMarker class specifies descriptive metadata that is associated with a point in time.", symbol="DescriptiveMarker") public class DescriptiveMarkerImpl extends CommentMarkerImpl implements DescriptiveMarker, Serializable, Cloneable
Implements descriptive metadata associated with a point in time and the tracks that the description refers to. A descriptive marker may contain a descriptive framework that specifies the metadata.
DescriptiveMarker.AllTracksDescribedObjectClassPropertyIDAllTracksDescribed, NoTracksDescribed| Constructor and Description |
|---|
DescriptiveMarkerImpl()
Creates and initializes a descriptive marker.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addDescribedTrackID(int trackID) |
DescriptiveMarker |
clone()
Create a cloned copy of this interchange object.
|
Set<Integer> |
getDescribedTrackIDs()
Returns the set of described track ids that are referenced by this descriptive marker.
|
int |
getDescribedTrackIDsSize()
Returns the number of track ids referred to by this descriptive
marker.
|
DescriptiveFramework |
getDescriptiveFrameworkObject()
Returns the
descriptive framework that specifies the metadata for
this descriptive marker. |
String |
getDescriptiveMetadataApplicationEnvironmentID()
Returns the application environment identifier, an Uniform
Resource Identifier (RFC 3986) that identifies the application to which the information in this plugin
object applies.
|
AUID |
getDescriptiveMetadataPluginID()
Returns the immutable identifier for this descriptive metadata plugin instance.
|
ExtensionScheme |
getDescriptiveMetadataScheme()
Returns the descriptive metadata scheme that is referenced by the descriptive framework
object.
|
void |
setDescribedTrackIDs(Set<Integer> describedTrackIDs)
|
void |
setDescriptiveFrameworkObject(DescriptiveFramework descriptiveFrameworkObject)
Sets the
descriptive framework that specifies the metadata for
this descriptive marker. |
void |
setDescriptiveMetadataApplicationEnvironmentID(String descriptiveMetadataApplicationEnvironmentID)
Sets the application environment identifier, an Uniform
Resource Identifier (RFC 3986) that identifies the application to which the information in this plugin
object applies.
|
void |
setDescriptiveMetadataPluginID(AUID descriptiveMetadataPluginID)
Sets the immutable identifier for this descriptive metadata plugin instance.
|
void |
setDescriptiveMetadataScheme(ExtensionScheme extensionScheme)
Sets the descriptive metadata scheme that is referenced by the descriptive framework
object.
|
getAnnotationSource, setAnnotationgetEventComment, getEventPosition, getPositionPresent, initializeEventPosition, setEventComment, setEventPosition, setPositionPresentgenerateSequence, getCutPoint, getKeyOffset, getPackLayerKeyIndicator, getSegmentBlob, getTrackBlob, getTrackKeyRenderSequence, getTrackName, getTrackRenderSequence, segmentOffsetToTC, segmentTCToOffset, setCutPoint, setKeyOffset, setPackLayerKeyIndicator, setSegmentBlob, setTrackBlob, setTrackKeyRenderSequence, setTrackName, setTrackRenderSequenceappendComponentAttribute, appendComponentAttribute, appendComponentKLVData, appendComponentUserComment, appendComponentUserComment, clearComponentAttributes, clearComponentKLVData, clearComponentUserComments, countComponentAttributes, countComponentKLVData, countComponentUserComments, getComment, getComponentAttributes, getComponentDataDefinition, getComponentKLVData, getComponentLength, getComponentUserComments, getEditName, getJupiterClipOffset, getJupiterID, getLengthPresent, initializeComponentDataDefinition, prependComponentAttribute, prependComponentKLVData, prependComponentUserComment, removeComponentAttribute, removeComponentKLVData, removeComponentUserComment, setComponentDataDefinition, setComponentLength, setComponentLengthFromStream, setEditName, setJupiterClipOffset, setJupiterID, setLengthPresentaddApplicationPlugin, appendXMLChildren, clearApplicationPlugins, containsApplicationPlugin, containsApplicationPlugin, countApplicationPlugins, deepEquals, disableGenerationTracking, enableGenerationTracking, equals, getApplicationPlugins, getGeneration, getLinkedGenerationID, getLinkedGenerationIDString, getObjectClass, getPersistentID, getPersistentIndex, hashCode, isGenerationTracked, removeApplicationPlugin, removeApplicationPlugin, setLinkedGenerationID, setLinkedGenerationIDString, setObjectClass, setPersistentID, setPersistentIndex, toStringgetAnnotationSource, setAnnotationgetEventComment, getEventPosition, setEventComment, setEventPositiongenerateSequence, segmentOffsetToTC, segmentTCToOffsetappendComponentAttribute, appendComponentAttribute, appendComponentKLVData, appendComponentUserComment, appendComponentUserComment, clearComponentAttributes, clearComponentKLVData, clearComponentUserComments, countComponentAttributes, countComponentKLVData, countComponentUserComments, getComponentAttributes, getComponentDataDefinition, getComponentKLVData, getComponentLength, getComponentUserComments, getLengthPresent, removeComponentAttribute, removeComponentKLVData, removeComponentUserComment, setComponentDataDefinition, setComponentLength, setLengthPresentaddApplicationPlugin, clearApplicationPlugins, containsApplicationPlugin, containsApplicationPlugin, countApplicationPlugins, deepEquals, disableGenerationTracking, enableGenerationTracking, equals, getApplicationPlugins, getGeneration, getLinkedGenerationID, getObjectClass, isGenerationTracked, removeApplicationPlugin, removeApplicationPlugin, setLinkedGenerationID, setObjectClass, toStringgetPersistentID, setPersistentIndexpublic DescriptiveMarkerImpl()
Creates and initializes a descriptive marker. If this event is in an
event track, the position must also be set using
EventImpl.setEventPosition(long).
@MediaProperty(uuid1=17236229, uuid2=0, uuid3=0, uuid4={6,14,43,52,1,1,1,4}, definedName="DescribedTrackIDs", aliases={"DescribedSlots","DescribedSlotIDs","DescribedTracks"}, typeName="UInt32Set", optional=true, uniqueIdentifier=false, pid=24834, symbol="DescribedTrackIDs") public Set<Integer> getDescribedTrackIDs() throws PropertyNotPresentException
DescriptiveMarkerReturns the set of described track ids that are referenced by this descriptive marker. If the value returned
is equal to DescriptiveMarker.AllTracksDescribed, this descriptive marker describes all tracks in the
associated package.
getDescribedTrackIDs in interface DescriptiveMarkerPropertyNotPresentException - The optional described tracks property is not present in this
descriptive marker.@MediaPropertySetter(value="DescribedTrackIDs") public void setDescribedTrackIDs(Set<Integer> describedTrackIDs) throws IllegalArgumentException
DescriptiveMarkerSpecifies the track ids in the package to which
this descriptive marker refers. Set this optional property to null to
omit it, which indicates that all tracks are described. Set to DescriptiveMarker.NoTracksDescribed
to indicate that the marker does not refer to any tracks.
setDescribedTrackIDs in interface DescriptiveMarkerdescribedTrackIDs - Track id for the tracks in the associated package that this
descriptive marker describes.IllegalArgumentException - One or more of the track ids in the given set is negative.DescriptiveMarker.AllTracksDescribed,
Track@MediaSetAdd(value="DescribedTrackIDs") public void addDescribedTrackID(@UInt32 int trackID) throws IllegalArgumentException
IllegalArgumentExceptionpublic int getDescribedTrackIDsSize()
throws PropertyNotPresentException
DescriptiveMarkerReturns the number of track ids referred to by this descriptive
marker.Note that the default value is DescriptiveMarker.AllTracksDescribed, which has Integer.MAX_VALUE
track ids. Care should be taken not to end up iterating over all of these entries!
getDescribedTrackIDsSize in interface DescriptiveMarkerPropertyNotPresentException - The optional described tracks property is not present in this
descriptive marker.@MediaProperty(uuid1=100729092, uuid2=524, uuid3=0, uuid4={6,14,43,52,1,1,1,5}, definedName="DescriptiveFrameworkObject", aliases={"Description","DescriptiveMarkerDescription"}, typeName="DescriptiveFrameworkStrongReference", optional=true, uniqueIdentifier=false, pid=24833, symbol="DescriptiveFrameworkObject") public DescriptiveFramework getDescriptiveFrameworkObject() throws PropertyNotPresentException
DescriptiveMarkerReturns the descriptive framework that specifies the metadata for
this descriptive marker.
getDescriptiveFrameworkObject in interface DescriptiveMarkerPropertyNotPresentException - The optional descriptive framework property is not present
in this descriptive marker.DescriptiveFramework@MediaPropertySetter(value="DescriptiveFrameworkObject") public void setDescriptiveFrameworkObject(DescriptiveFramework descriptiveFrameworkObject)
DescriptiveMarkerSets the descriptive framework that specifies the metadata for
this descriptive marker. Set this optional property to null to omit it.
setDescriptiveFrameworkObject in interface DescriptiveMarkerdescriptiveFrameworkObject - Specifies the descriptive framework.DescriptiveFramework@MediaProperty(uuid1=85985025, uuid2=3584, uuid3=0, uuid4={6,14,43,52,1,1,1,12}, definedName="DescriptiveMetadataPluginID", aliases="DescriptiveMetadataPlug-InID", typeName="AUID", optional=true, uniqueIdentifier=false, pid=0, symbol="DescriptiveMetadataPluginID", description="Immutable identifier for this descriptive metadata plugin instance.") public AUID getDescriptiveMetadataPluginID() throws PropertyNotPresentException
DescriptiveMarkerReturns the immutable identifier for this descriptive metadata plugin instance.
getDescriptiveMetadataPluginID in interface DescriptiveMarkerPropertyNotPresentException - The optional descriptive metadata plugin identifier
is not present for this descriptive marker.@MediaPropertySetter(value="DescriptiveMetadataPluginID") public void setDescriptiveMetadataPluginID(AUID descriptiveMetadataPluginID)
DescriptiveMarkerSets the immutable identifier for this descriptive metadata plugin instance.
setDescriptiveMetadataPluginID in interface DescriptiveMarkerdescriptiveMetadataPluginID - Immutable identifier for this descriptive metadata plugin
instance.@MediaProperty(uuid1=85985025, uuid2=4096, uuid3=0, uuid4={6,14,43,52,1,1,1,12}, definedName="DescriptiveMetadataApplicationEnvironmentID", typeName="UTF16String", optional=true, uniqueIdentifier=false, pid=0, symbol="DescriptiveMetadataApplicationEnvironmentID", description="Application environment identifier, an Uniform Resource Identifier (RFC 3986) that identifies the application to which the information in this plugin object applies.") public String getDescriptiveMetadataApplicationEnvironmentID() throws PropertyNotPresentException
DescriptiveMarkerReturns the application environment identifier, an Uniform Resource Identifier (RFC 3986) that identifies the application to which the information in this plugin object applies. This is an optional property.
getDescriptiveMetadataApplicationEnvironmentID in interface DescriptiveMarkerPropertyNotPresentException - The optional descriptive metadata application environment identifier
is not present for this descriptive marker.@MediaPropertySetter(value="DescriptiveMetadataApplicationEnvironmentID") public void setDescriptiveMetadataApplicationEnvironmentID(String descriptiveMetadataApplicationEnvironmentID)
DescriptiveMarkerSets the application environment identifier, an Uniform
Resource Identifier (RFC 3986) that identifies the application to which the information in this plugin
object applies. Set this optional property to null to omit it.
setDescriptiveMetadataApplicationEnvironmentID in interface DescriptiveMarkerdescriptiveMetadataApplicationEnvironmentID - Application environment identifier.@MediaProperty(uuid1=67504132, uuid2=0, uuid3=0, uuid4={6,14,43,52,1,1,1,12}, definedName="DescriptiveMetadataScheme", typeName="ExtensionSchemeWeakReference", optional=true, uniqueIdentifier=false, pid=0, symbol="DescriptiveMetadataScheme", description="Descriptive metadata scheme that is referenced by the descriptive framework object.") public ExtensionScheme getDescriptiveMetadataScheme() throws PropertyNotPresentException
DescriptiveMarkerReturns the descriptive metadata scheme that is referenced by the descriptive framework object. A descriptive metadata scheme is represented by an extension scheme. This is an optional property.
getDescriptiveMetadataScheme in interface DescriptiveMarkerPropertyNotPresentException - The optional descriptive metadata scheme property is
not present for this descriptive marker.DescriptiveMarker.getDescriptiveFrameworkObject(),
Root.getRootExtensions()@MediaPropertySetter(value="DescriptiveMetadataScheme") public void setDescriptiveMetadataScheme(ExtensionScheme extensionScheme)
DescriptiveMarkerSets the descriptive metadata scheme that is referenced by the descriptive framework
object. A descriptive metadata scheme is represented by an
extension scheme. Set this optional property
to null to omit it.
setDescriptiveMetadataScheme in interface DescriptiveMarkerextensionScheme - Descriptive metadata scheme that is referenced by the descriptive framework
object.DescriptiveMarker.setDescriptiveFrameworkObject(DescriptiveFramework)public DescriptiveMarker clone()
InterchangeObjectCreate a cloned copy of this interchange object.
clone in interface MediaEntityclone in interface CommentMarkerclone in interface Componentclone in interface DescriptiveMarkerclone in interface Eventclone in interface InterchangeObjectclone in interface Segmentclone in class CommentMarkerImpl(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.