XMT-O Reference Software

xmto2xmta.mapstructure
Class StrLayout

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

public class StrLayout
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  java.util.ResourceBundle layoutRes_
           
private  layout treeLayout_
           
private  java.util.ResourceBundle xmto2XmtaRes_
           
private  java.lang.String xmtoAttrType_
           
private  boolean xmtoUsePixelMetric_
           
 
Fields inherited from class xmto2xmta.MapRoot
treeElement_, xmto2xmta_
 
Constructor Summary
StrLayout()
           
 
Method Summary
 void doMapping()
           
 boolean doMetrics()
           
 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).

xmtoUsePixelMetric_

private boolean xmtoUsePixelMetric_

xmtoAttrType_

private java.lang.String xmtoAttrType_

treeLayout_

private layout treeLayout_

layoutRes_

private java.util.ResourceBundle layoutRes_

xmto2XmtaRes_

private java.util.ResourceBundle xmto2XmtaRes_
Constructor Detail

StrLayout

public StrLayout()
Method Detail

doMapping

public void doMapping()

doMetrics

public boolean doMetrics()

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