XMT-O Reference Software

xmto2xmta.tree
Class XMTO

java.lang.Object
  |
  +--xmto2xmta.tree.TreeElement
        |
        +--xmto2xmta.tree.ConvertElement
              |
              +--xmto2xmta.tree.StructureElement
                    |
                    +--xmto2xmta.tree.XMTO

public class XMTO
extends StructureElement

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  java.lang.String animationGroupID_
           
private  java.lang.String backgroundGroupID_
           
private static boolean debug_
          Whether debug information is to be printed to the console.
private  java.lang.String defsGroupID_
           
private  java.lang.String layoutGroupID_
           
private  java.lang.String orderedGroupID_
           
private  org.w3c.dom.Element xmtaBIFSConfig_
           
private  org.w3c.dom.Element xmtaCommandStream_
           
private  org.w3c.dom.Element xmtaParAnimationNodes_
           
private  org.w3c.dom.Element xmtaParNodes_
           
private  org.w3c.dom.Element xmtaParOds_
           
private  org.w3c.dom.Element xmtaParRoutes_
           
 
Fields inherited from class xmto2xmta.tree.ConvertElement
convertIndexTable_, index_, xmtaDoc_, xmtaIds_, xmto2Xmta_, xmto2XmtaRes_, xmtoAttrId_, xmtoElement_, xmtoIds_
 
Fields inherited from class xmto2xmta.tree.TreeElement
children, parent_
 
Constructor Summary
XMTO(org.w3c.dom.Element xmtoElement, java.util.Hashtable xmtoIds, java.util.Hashtable xmtaIds, java.util.Hashtable convertIndexTable, org.w3c.dom.Document xmtaDoc, Xmto2Xmta xmto2Xmta)
          constructor.
 
Method Summary
 java.lang.String getAnimationGroupId()
          Get the id for the XMT-A ordered group to which animation objects are added.
 java.lang.String getBackgroundGroupId()
          Get the id for the XMT-A ordered group to which background objects are added.
 java.lang.String getDefsGroupId()
          Get the id for the XMT-A ordered group to which defs objects are added.
 java.lang.String getLayoutOrderedGroupId()
          Get the id for the XMT-A ordered group to which layout objects are added.
 java.lang.String getMediaOrderedGroupId()
          Get the id for the XMT-A ordered group to which media objects are added.
 org.w3c.dom.Element getXmtaBIFSConfig()
           
 org.w3c.dom.Element getXmtaCommandStream()
           
 org.w3c.dom.Element getXmtaParAnimationNodes()
           
 org.w3c.dom.Element getXmtaParNodes()
           
 org.w3c.dom.Element getXmtaParOds()
           
 org.w3c.dom.Element getXmtaParRoutes()
           
static void setDebug(boolean debug)
          Enable debugging information to be printed to the console.
 java.lang.String toString()
           
 
Methods inherited from class xmto2xmta.tree.ConvertElement
addToParNode, addToParOd, addToParRoutes, createChildren, fireErrorEvent, fireErrorEvent, fireErrorEvent, getConvertIndexTable, getIndex, getXmtaDoc, getXmtaIds, getXmto2Xmta, getXmtoAttrId, getXmtoElement, getXmtoIds, handleValidateSyntax, insertIntoXmtaTree, remove, validateSyntax
 
Methods inherited from class xmto2xmta.tree.TreeElement
addChild, getChildren, getParent, removeChild, setParent
 
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).

xmtaParOds_

private org.w3c.dom.Element xmtaParOds_

xmtaParNodes_

private org.w3c.dom.Element xmtaParNodes_

xmtaParAnimationNodes_

private org.w3c.dom.Element xmtaParAnimationNodes_

xmtaParRoutes_

private org.w3c.dom.Element xmtaParRoutes_

xmtaBIFSConfig_

private org.w3c.dom.Element xmtaBIFSConfig_

xmtaCommandStream_

private org.w3c.dom.Element xmtaCommandStream_

orderedGroupID_

private java.lang.String orderedGroupID_

backgroundGroupID_

private java.lang.String backgroundGroupID_

defsGroupID_

private java.lang.String defsGroupID_

animationGroupID_

private java.lang.String animationGroupID_

layoutGroupID_

private java.lang.String layoutGroupID_
Constructor Detail

XMTO

public XMTO(org.w3c.dom.Element xmtoElement,
            java.util.Hashtable xmtoIds,
            java.util.Hashtable xmtaIds,
            java.util.Hashtable convertIndexTable,
            org.w3c.dom.Document xmtaDoc,
            Xmto2Xmta xmto2Xmta)
constructor.
Parameters:
xmtoElement - XMT-O element for conversion.
xmtoIds - hashtable to contain XMT-O Conversion elements with the key of their XMT-O id.
xmtaIds - hashtable to contain XMT-A elements with the key of their XMT-A id.
xmtaDoc - DOM Document for the new XMT-A elements.
xmto2Xmta - Converter, used for firing error events.
Method Detail

getAnimationGroupId

public java.lang.String getAnimationGroupId()
Get the id for the XMT-A ordered group to which animation objects are added.
Returns:
the id (DEF) of the XMT-A ordered group.

getBackgroundGroupId

public java.lang.String getBackgroundGroupId()
Get the id for the XMT-A ordered group to which background objects are added.
Returns:
the id (DEF) of the XMT-A ordered group.

getDefsGroupId

public java.lang.String getDefsGroupId()
Get the id for the XMT-A ordered group to which defs objects are added.
Returns:
the id (DEF) of the XMT-A ordered group.

getLayoutOrderedGroupId

public java.lang.String getLayoutOrderedGroupId()
Get the id for the XMT-A ordered group to which layout objects are added.
Returns:
the id (DEF) of the XMT-A ordered group.

getMediaOrderedGroupId

public java.lang.String getMediaOrderedGroupId()
Get the id for the XMT-A ordered group to which media objects are added.
Returns:
the id (DEF) of the XMT-A ordered group.

getXmtaBIFSConfig

public org.w3c.dom.Element getXmtaBIFSConfig()

getXmtaCommandStream

public org.w3c.dom.Element getXmtaCommandStream()

getXmtaParAnimationNodes

public org.w3c.dom.Element getXmtaParAnimationNodes()

getXmtaParNodes

public org.w3c.dom.Element getXmtaParNodes()

getXmtaParOds

public org.w3c.dom.Element getXmtaParOds()

getXmtaParRoutes

public org.w3c.dom.Element getXmtaParRoutes()

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 TreeElement

XMT-O Reference Software