XMT-O Reference Software

xmto2xmta.mapaugmentation
Class AugBackdrop

java.lang.Object
  |
  +--xmto2xmta.MapRoot
        |
        +--xmto2xmta.mapaugmentation.AugAugmentationElement
              |
              +--xmto2xmta.mapaugmentation.AugBackdrop
All Implemented Interfaces:
MapInterface

public class AugBackdrop
extends AugAugmentationElement

Class to handle the conversion of the body element.

History:


Field Summary
private static boolean debug_
          Whether debug information is to be printed to the console.
private static java.lang.String FILE_URL_PREFIX
           
private static java.lang.String ODID_URL_PREFIX
           
private  backdrop treeBackdrop_
           
private  java.util.ResourceBundle xmto2XmtaRes_
           
 
Fields inherited from class xmto2xmta.MapRoot
treeElement_, xmto2xmta_
 
Constructor Summary
AugBackdrop()
           
 
Method Summary
private  boolean createDeleteMapping(ELASid elasId)
          Create the deleting of the background node.
private  boolean createDeleteOdMapping(ELASid elasId)
          Create the deleting of the background OD.
private  boolean createInsertMapping(ELASid elasId)
          Create the background infrastructure.
private  boolean createInsertOdMapping(ELASid elasId)
          Create the background od infrastructure.
 void doMapping()
           
private  boolean doTimingMapping()
           
 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.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).

ODID_URL_PREFIX

private static final java.lang.String ODID_URL_PREFIX

FILE_URL_PREFIX

private static final java.lang.String FILE_URL_PREFIX

treeBackdrop_

private backdrop treeBackdrop_

xmto2XmtaRes_

private java.util.ResourceBundle xmto2XmtaRes_
Constructor Detail

AugBackdrop

public AugBackdrop()
Method Detail

createDeleteMapping

private boolean createDeleteMapping(ELASid elasId)
Create the deleting of the background node.
   <par begin="???">
     <Replace atField="set_bind" atNode="???" value="false"/>
     <Delete atNode="???"/>
   </par>
 

createDeleteOdMapping

private boolean createDeleteOdMapping(ELASid elasId)
Create the deleting of the background OD.
   <par begin="???">
     <ObjectDescriptorRemove objectDescriptorId="???"/>
   </par>
 

createInsertMapping

private boolean createInsertMapping(ELASid elasId)
Create the background infrastructure.
   <par begin="???">
     <Insert atNode="???">
       <Background2D DEF="???" backColor="???" src="???"/>
     </Insert>
    <Replace atField="set_bind" atNode="???" value="true"/>
   </par>
 

createInsertOdMapping

private boolean createInsertOdMapping(ELASid elasId)
Create the background od infrastructure.
   <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>
 

doMapping

public void doMapping()

doTimingMapping

private boolean doTimingMapping()

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

XMT-O Reference Software