XMT-O Reference Software

xmto2xmta.mapxmediachildren
Class XchChromakey

java.lang.Object
  |
  +--xmto2xmta.MapRoot
        |
        +--xmto2xmta.mapxmediachildren.XchXmediaChildrenDefsElement
              |
              +--xmto2xmta.mapxmediachildren.XchChromakey
All Implemented Interfaces:
MapInterface

public class XchChromakey
extends XchXmediaChildrenDefsElement

Class to handle the conversion of the material element.

History:


Field Summary
private static boolean debug_
          Whether debug information is to be printed to the console.
private  chromakey treeChromakey_
           
 
Fields inherited from class xmto2xmta.mapxmediachildren.XchXmediaChildrenDefsElement
treeXmediaChild_, xmto2XmtaRes_
 
Fields inherited from class xmto2xmta.MapRoot
treeElement_, xmto2xmta_
 
Constructor Summary
XchChromakey()
           
 
Method Summary
protected  org.w3c.dom.Element createXmtaDefsMapping()
          Create the xMedia Children Element Defs infrastructure.
protected  org.w3c.dom.Element createXmtaMapping(ELASid elasId)
          Create the Material2D infrastructure.
protected  java.lang.String getReplaceAtFieldAttr()
          Get the XMTA field id in which the xMediaChild should be placed into.
protected  java.lang.String getReplaceAtNodeAttr(ELASid elasId)
          Get the XMTA node id in which the xMediaChild should be placed into.
 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.mapxmediachildren.XchXmediaChildrenDefsElement
createInsertMapping, createInsertMapping, doMapping, doTimingMapping
 
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).

treeChromakey_

private chromakey treeChromakey_
Constructor Detail

XchChromakey

public XchChromakey()
Method Detail

createXmtaDefsMapping

protected org.w3c.dom.Element createXmtaDefsMapping()
Create the xMedia Children Element Defs infrastructure. This creates the infrastructure necessary for the XMT-A Material2D element to fit in the defs section.
 <Shape>
   <appearance>
     <Appearance>
       <material/>
     </Appearance>
   </appearance>
 </Shape>
 
Overrides:
createXmtaDefsMapping in class XchXmediaChildrenDefsElement

createXmtaMapping

protected org.w3c.dom.Element createXmtaMapping(ELASid elasId)
Create the Material2D infrastructure.
Overrides:
createXmtaMapping in class XchXmediaChildrenDefsElement

getReplaceAtFieldAttr

protected java.lang.String getReplaceAtFieldAttr()
Get the XMTA field id in which the xMediaChild should be placed into.
Overrides:
getReplaceAtFieldAttr in class XchXmediaChildrenDefsElement

getReplaceAtNodeAttr

protected java.lang.String getReplaceAtNodeAttr(ELASid elasId)
Get the XMTA node id in which the xMediaChild should be placed into.
Overrides:
getReplaceAtNodeAttr in class XchXmediaChildrenDefsElement

init

public void init(Xmto2Xmta xmto2xmta,
                 ConvertElement element)
          throws java.lang.Exception
Overrides:
init in class XchXmediaChildrenDefsElement

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