xmto2xmta.mapmedia
Class MedAudio
java.lang.Object
|
+--xmto2xmta.MapRoot
|
+--xmto2xmta.mapmedia.MedMediaElement
|
+--xmto2xmta.mapmedia.MedExternalElement
|
+--xmto2xmta.mapmedia.MedAudio
- All Implemented Interfaces:
- MapInterface
- public class MedAudio
- extends MedExternalElement
Class to handle the conversion of the rectangle element.
History:
- 13 Dec 2000 - Created file.
- 23 Apr 2001 - Remove check of audio type, just use what parser passes back.
- 26 Apr 2001 - Update object descriptors to Jan XMT-A spec.
- 30 Apr 2001 - Add switch to generate new format for XMT-A files.
- 03 May 2001 - Fix when repeat start time is before begining of presentation
ie. t<0. Issue a warning and set start to t=0.
- Fix when video doesn't end (indefinite) don't remove
od.
Field Summary |
private java.util.ResourceBundle |
audioRes_
|
private static boolean |
debug_
Whether debug information is to be printed to the console. |
private audio |
treeAudio_
|
private java.util.ResourceBundle |
xmto2XmtaRes_
|
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, 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).
treeAudio_
private audio treeAudio_
audioRes_
private java.util.ResourceBundle audioRes_
xmto2XmtaRes_
private java.util.ResourceBundle xmto2XmtaRes_
MedAudio
public MedAudio()
fillInTransform2dChildren
protected boolean fillInTransform2dChildren(org.w3c.dom.Element transform2dChildren,
ELASid elasId)
- Create the rectangle infrastructure.
<Sound2D DEF="???">
<source>
<AudioSource DEF="???" url="???"/>
</source>
</Sound2D>
- Overrides:
fillInTransform2dChildren
in class MedMediaElement
init
public void init(Xmto2Xmta xmto2xmta,
ConvertElement element)
throws java.lang.Exception
- Overrides:
init
in class MedExternalElement
setDebug
public static void setDebug(boolean debug)
- Enable debugging information to be printed to the console.
- Parameters:
debug
- sets debug information is printed
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object