XMT-O Reference Software

xmto2xmta.mapxmediachildren
Class XchFontStyle

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

public class XchFontStyle
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  fontStyle treeFontStyle_
           
 
Fields inherited from class xmto2xmta.mapxmediachildren.XchXmediaChildrenDefsElement
treeXmediaChild_, xmto2XmtaRes_
 
Fields inherited from class xmto2xmta.MapRoot
treeElement_, xmto2xmta_
 
Constructor Summary
XchFontStyle()
           
 
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 FontStyle 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).

treeFontStyle_

private fontStyle treeFontStyle_
Constructor Detail

XchFontStyle

public XchFontStyle()
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 FontStyle element to fit int he defs section.
 <Shape>
   <geometry>
     <Text>
       <fontStyle/>
     </Text>
   </geometry>
 </Shape>
 
Overrides:
createXmtaDefsMapping in class XchXmediaChildrenDefsElement

createXmtaMapping

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