xmto2xmta.mapxmediachildren
Class XchXmediaChildrenExternalElement
java.lang.Object
|
+--xmto2xmta.MapRoot
|
+--xmto2xmta.mapxmediachildren.XchXmediaChildrenExternalElement
- All Implemented Interfaces:
- MapInterface
- Direct Known Subclasses:
- XchTexture
- public abstract class XchXmediaChildrenExternalElement
- extends MapRoot
Class to group together the various type media elements whose data is external to the XMT file.
History:
- 13 Dec 2000 - Created file.
- 09 Feb 2001 - Fix bug should support indefininte duration (end time)
- 28 May 2002 - odid url prefix is od:// in new spec.
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
debug_
private static boolean debug_
- Whether debug information is to be printed to the console.
default is not have debug information printed (false).
ODID_URL_PREFIX
protected static final java.lang.String ODID_URL_PREFIX
FILE_URL_PREFIX
protected static final java.lang.String FILE_URL_PREFIX
treeXmediaChildExtElement_
private XmediaChildrenExternalElement treeXmediaChildExtElement_
mediaObjectInformation_
private MediaObjectInformation mediaObjectInformation_
externalElementRes_
private java.util.ResourceBundle externalElementRes_
XchXmediaChildrenExternalElement
public XchXmediaChildrenExternalElement()
createDeleteMapping
protected boolean createDeleteMapping(ELASid elasId)
- Create the media Element infrastructure.
The infrastructure contains the par node for the deletion.
The par for the deletion, deletes the top level group for the element. It also
takes care of the position in the ordered group field (for z-order)
<par begin="???">
<ObjectDescriptorRemove objectDescriptorId="???"/>
</par>
createInsertMapping
protected boolean createInsertMapping()
- Create the External Element infrastructure.
createInsertMapping
protected boolean createInsertMapping(ELASid elasId)
- Create the External Element infrastructure.
createInsertMappingOD
private boolean createInsertMappingOD(TimingAttribute insertTime,
java.lang.String objectDescriptorId,
java.lang.String esDescriptorId)
- Create the External Element infrastructure.
The infrastructure contains the par node for the insertion of the OD.
NOTE: The OD is the same with all the external streams (audio, video & image)
in the new XMT-A specification.
<par begin="???">
<ObjectDescriptorUpdate>
<OD>
<ObjectDescriptor ObjectDescriptorID="???">
<esDescr>
<ES_Descriptor ES_ID="???">
<StreamSource url="???"/>
<decConfigDescr>
<DecoderConfigDescriptor bufferSizeDB="auto" objectTypeIndication="???" streamType="???">
<decSpecificInfo>
<DecoderSpecificInfo type="auto"/>
</decSpecificInfo>
</DecoderConfigDescriptor>
</decConfigDescr>
<slConfigDescr>
<SLConfigDescriptor timeStampLength="auto" timeStampResolution="auto" useAccessUnitStartFlag="true">
</slConfigDescr>
</ES_Descriptor>
</esDescr>
</ObjectDescriptor>
<OD/>
</ObjectDescriptorUpdate>
</par>
getMediaObjectInformation
protected MediaObjectInformation getMediaObjectInformation()
init
public void init(Xmto2Xmta xmto2xmta,
ConvertElement element)
throws java.lang.Exception
- Overrides:
init
in class MapRoot
setDebug
public static void setDebug(boolean debug)
- Enable debugging information to be printed to the console.
- Parameters:
debug
- sets debug information is printed