XMT-O Reference Software

xmto2xmta.mapstructure
Class StrTopLayout

java.lang.Object
  |
  +--xmto2xmta.MapRoot
        |
        +--xmto2xmta.mapstructure.StrStructureElement
              |
              +--xmto2xmta.mapstructure.StrTopLayout
All Implemented Interfaces:
MapInterface

public class StrTopLayout
extends StrStructureElement

Class to handle the conversion of the XMT-O element. The class name is XMTO instead of XMT-O since java doesn't allow a dash character in the class name.

History:


Field Summary
private static boolean debug_
          Whether debug information is to be printed to the console.
private  topLayout treeTopLayout_
           
private  java.util.ResourceBundle xmto2XmtaRes_
           
 
Fields inherited from class xmto2xmta.MapRoot
treeElement_, xmto2xmta_
 
Constructor Summary
StrTopLayout()
           
 
Method Summary
 boolean createBackground()
          Create the background infrastructure.
 void doMapping()
           
 boolean doSize()
           
 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).

treeTopLayout_

private topLayout treeTopLayout_

xmto2XmtaRes_

private java.util.ResourceBundle xmto2XmtaRes_
Constructor Detail

StrTopLayout

public StrTopLayout()
Method Detail

createBackground

public boolean createBackground()
Create the background infrastructure. The infrastructure contains the par node for the insertion. The par node for the insertion contains the background.
   <par begin="0">
     <Insert atNode="???">
       <Background2D DEF="???" backColor="???"/>
     </Insert>
    <Replace atField="set_bind" atNode="???" value="true"/>
   </par>
 

doMapping

public void doMapping()

doSize

public boolean doSize()

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