XMT-O Reference Software

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:


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_
           
 
Fields inherited from class xmto2xmta.mapmedia.MedExternalElement
externalElementRes_, FILE_URL_PREFIX, ODID_URL_PREFIX, treeExternalElement_
 
Fields inherited from class xmto2xmta.mapmedia.MedMediaElement
treeMediaElement_
 
Fields inherited from class xmto2xmta.MapRoot
treeElement_, xmto2xmta_
 
Constructor Summary
MedAudio()
           
 
Method Summary
protected  boolean fillInTransform2dChildren(org.w3c.dom.Element transform2dChildren, ELASid elasId)
          Create the rectangle infrastructure.
 void init(Xmto2Xmta xmto2xmta, ConvertElement element)
           
static void setDebug(boolean debug)
          Enable debugging information to be printed to the console.
 java.lang.String toString()
           
 
Methods inherited from class xmto2xmta.mapmedia.MedExternalElement
createDeleteMapping, createDeleteMapping, createEventDeleteMapping, createEventInsertMapping, createInsertMapping, createInsertMapping, generateDeleteMapping, generateInsertMapping
 
Methods inherited from class xmto2xmta.mapmedia.MedMediaElement
createXmtaMapping, deleteNodeAtEndOfDuration, doEventTimingMapping, doMapping, doTimingMapping, generateDeleteMapping, generateInsertMapping
 
Methods inherited from class xmto2xmta.MapRoot
fireErrorEvent, fireErrorEvent, fireErrorEvent, getConvertElement
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

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_
Constructor Detail

MedAudio

public MedAudio()
Method Detail

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

XMT-O Reference Software