XMT-O Reference Software

xmto2xmta.mapmedia
Class MedExternalVisualElement

java.lang.Object
  |
  +--xmto2xmta.MapRoot
        |
        +--xmto2xmta.mapmedia.MedMediaElement
              |
              +--xmto2xmta.mapmedia.MedExternalElement
                    |
                    +--xmto2xmta.mapmedia.MedExternalVisualElement
All Implemented Interfaces:
MapInterface
Direct Known Subclasses:
MedImg, MedVideo

public abstract class MedExternalVisualElement
extends MedExternalElement

Class to group together the various type media elements whose data is internal to the XMT file.

History:


Field Summary
private static boolean debug_
          Whether debug information is to be printed to the console.
 
Fields inherited from class xmto2xmta.mapmedia.MedExternalElement
externalElementRes_, FILE_URL_PREFIX, ODID_URL_PREFIX, treeExternalElement_, xmto2XmtaRes_
 
Fields inherited from class xmto2xmta.mapmedia.MedMediaElement
treeMediaElement_
 
Fields inherited from class xmto2xmta.MapRoot
treeElement_, xmto2xmta_
 
Constructor Summary
MedExternalVisualElement()
           
 
Method Summary
protected abstract  boolean fillInTexture(org.w3c.dom.Element texture, ELASid elasId)
           
protected  boolean fillInTransform2dChildren(org.w3c.dom.Element transform2dChildren, ELASid elasId)
          Create the rectangle infrastructure.
static void setDebug(boolean debug)
          Enable debugging information to be printed to the console.
 
Methods inherited from class xmto2xmta.mapmedia.MedExternalElement
createDeleteMapping, createDeleteMapping, createEventDeleteMapping, createEventInsertMapping, createInsertMapping, createInsertMapping, generateDeleteMapping, generateInsertMapping, init
 
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, toString, 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).
Constructor Detail

MedExternalVisualElement

public MedExternalVisualElement()
Method Detail

fillInTexture

protected abstract boolean fillInTexture(org.w3c.dom.Element texture,
                                         ELASid elasId)

fillInTransform2dChildren

protected boolean fillInTransform2dChildren(org.w3c.dom.Element transform2dChildren,
                                            ELASid elasId)
Create the rectangle infrastructure.
 <Shape>
   <geometry>
     <Bitmap/>
   </geometry>
   <appearance>
     <Appearance/>
   </appearance>
 </Shape>
 
Overrides:
fillInTransform2dChildren in class MedMediaElement

setDebug

public static void setDebug(boolean debug)
Enable debugging information to be printed to the console.
Parameters:
debug - sets debug information is printed

XMT-O Reference Software