@Immutable
public final class CompositionPlaylist
extends java.lang.Object
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
CompositionPlaylist.EditRate
This class is an immutable implementation of a rational number described as a ratio of two longs and used to hold
 non-integer frame rate values 
 | 
static class  | 
CompositionPlaylist.SequenceTypeEnum
This class enumerates various types of  
Sequence that are valid in
 CompositionPlaylist document that is compliant with st2067-2:2013. | 
static class  | 
CompositionPlaylist.VirtualTrack
The class is an immutable implementation of the virtual track concept defined in Section 6.9.3 of st2067-3:2013. 
 | 
| Constructor and Description | 
|---|
CompositionPlaylist(java.io.File compositionPlaylistXMLFile,
                   IMFErrorLogger imfErrorLogger)
Constructor for a  
CompositionPlaylist object from a XML file | 
| Modifier and Type | Method and Description | 
|---|---|
CompositionPlaylist.EditRate | 
getEditRate()
Getter for the composition edit rate as specified in the CompositionPlaylist XML file 
 | 
java.util.UUID | 
getUUID()
Getter for the UUID corresponding to this CompositionPlaylist document 
 | 
java.util.Map<java.util.UUID,CompositionPlaylist.VirtualTrack> | 
getVirtualTrackMap()
Getter for the virtual track map associated with this CompositionPlaylist 
 | 
java.util.Map<java.util.UUID,java.util.List<org.smpte_ra.schemas.st2067_2_2013.TrackFileResourceType>> | 
getVirtualTrackResourceList()
Getter for the lists of type  
TrackFileResourceType indexed by the VirtualTrackID. | 
static void | 
main(java.lang.String[] args)  | 
java.lang.String | 
toString()  | 
public CompositionPlaylist(java.io.File compositionPlaylistXMLFile,
                           @Nullable
                           IMFErrorLogger imfErrorLogger)
                    throws java.io.IOException,
                           org.xml.sax.SAXException,
                           javax.xml.bind.JAXBException,
                           java.net.URISyntaxException
CompositionPlaylist object from a XML filecompositionPlaylistXMLFile - the input XML file that is conformed to schema and constraints specified in st2067-3:2013 and st2067-2:2013imfErrorLogger - an error logger for recording any errors - can be nulljava.io.IOException - - any I/O related error is exposed through an IOExceptionorg.xml.sax.SAXException - - exposes any issues with instantiating a Schema objectjavax.xml.bind.JAXBException - - any issues in serializing the XML document using JAXB are exposed through a JAXBExceptionjava.net.URISyntaxException - exposes any issues instantiating a URI objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic CompositionPlaylist.EditRate getEditRate()
public java.util.Map<java.util.UUID,java.util.List<org.smpte_ra.schemas.st2067_2_2013.TrackFileResourceType>> getVirtualTrackResourceList()
TrackFileResourceType indexed by the VirtualTrackID.
 The VirtualTrack concept is defined in Section 6.9.3 of st2067-3:2013.TrackFileResourceType>>. The UUID key corresponds to VirtualTrackIDpublic java.util.Map<java.util.UUID,CompositionPlaylist.VirtualTrack> getVirtualTrackMap()
Map<UUID,VirtualTrack>. The UUID key corresponds to VirtualTrackIDpublic java.util.UUID getUUID()
public static void main(java.lang.String[] args)
                 throws java.lang.Exception
java.lang.Exception