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:
- 13 Dec 2000 - Created file.
- 30 Apr 2001 - Add switch to generate new format for XMT-A files.
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. |
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 java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
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_
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.
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