XMT-O Reference Software

xmto2xmta.mapxmediachildren
Class XchOutline

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

public class XchOutline
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  outline treeOutline_
           
 
Fields inherited from class xmto2xmta.mapxmediachildren.XchXmediaChildrenDefsElement
treeXmediaChild_, xmto2XmtaRes_
 
Fields inherited from class xmto2xmta.MapRoot
treeElement_, xmto2xmta_
 
Constructor Summary
XchOutline()
           
 
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 LineProperties 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).

treeOutline_

private outline treeOutline_
Constructor Detail

XchOutline

public XchOutline()
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 LineProperties element to fit in the defs section.
 <Shape>
   <appearance>
     <Appearance>
       <material>
         <Material2D>
           <lineProps>
             u<LineProperties/>
           </lineProps>
         </Material2D>
       </material>
     </Appearance>
   </appearance>
 </Shape>
 
Overrides:
createXmtaDefsMapping in class XchXmediaChildrenDefsElement

createXmtaMapping

protected org.w3c.dom.Element createXmtaMapping(ELASid elasId)
Create the LineProperties 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