|
XMT-O Reference Software | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--xmto2xmta.mapmedia.MediaMapper
Class to determine resolve the timing for the XMT-O tree.
History:
Field Summary | |
private java.util.Hashtable |
convertIndexTable_
|
static boolean |
debug_
Whether debug information is to be printed to the console. |
private java.util.Vector |
mpClasses_
|
private java.lang.String |
mpClassesPackage_
|
private java.lang.String[] |
mpClassNames_
|
private java.util.Hashtable |
mpTable_
Hash table containing the layout mapping classes which correspond to the XMT-O tree elements elements. |
private java.util.Vector |
treeClasses_
|
private java.lang.String |
treeClassesPackage_
Used to create Lists for class mappings |
private java.lang.String[] |
treeClassNames_
|
private ConvertElement |
treeRoot_
|
private Xmto2Xmta |
xmto2xmta_
Input structures |
private java.util.Hashtable |
xmtoIdTable_
|
Constructor Summary | |
MediaMapper(Xmto2Xmta xmto2xmta,
java.util.Hashtable xmtoIds,
java.util.Hashtable convertIndexes,
ConvertElement treeRoot)
Create the Resolv Model. |
Method Summary | |
private void |
doMapping()
|
void |
fireErrorEvent(int errorLevel,
int errorId,
java.lang.String message)
|
private void |
initializeClassLists()
|
private void |
mapClass(ConvertElement element)
|
static void |
setDebug(boolean debug)
Enable debugging information to be printed to the console. |
private void |
visitElements(ConvertElement element)
Call Validate on the convert element and traverse through the children. |
Methods inherited from class java.lang.Object |
|
Field Detail |
public static boolean debug_
private Xmto2Xmta xmto2xmta_
private java.util.Hashtable xmtoIdTable_
private java.util.Hashtable convertIndexTable_
private ConvertElement treeRoot_
private java.util.Hashtable mpTable_
private java.lang.String treeClassesPackage_
private java.lang.String mpClassesPackage_
private java.util.Vector treeClasses_
private java.util.Vector mpClasses_
private java.lang.String[] treeClassNames_
private java.lang.String[] mpClassNames_
Constructor Detail |
public MediaMapper(Xmto2Xmta xmto2xmta, java.util.Hashtable xmtoIds, java.util.Hashtable convertIndexes, ConvertElement treeRoot)
converter
- converter with pointers to the convert tree,
the xmto id hash table and the convert tree index hash table.xmtoIds
- table of the convert tree Elements. The hash index is the xmto id
attribute. Not all convert tree elements are contained in this table,
for example the elements which don't have xmto ids. Also this table
may have elemnents removed if an element isn't supported or has an error
which can't be converted.convertIndexes
- table of the convert tree Elements. The hash index is the unique
index for each convert element (like an id, but not to be confused with the
xmto id. This table may have elemnents removed if an element isn't
supported or has an error which can't be converted.treeRoot
- root of the convert tree.Method Detail |
private void doMapping()
public void fireErrorEvent(int errorLevel, int errorId, java.lang.String message)
private void initializeClassLists()
private void mapClass(ConvertElement element)
public static void setDebug(boolean debug)
debug
- sets debug information is printedprivate void visitElements(ConvertElement element)
|
XMT-O Reference Software | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |