xmto2xmta.tree
Class body
java.lang.Object
|
+--xmto2xmta.tree.TreeElement
|
+--xmto2xmta.tree.ConvertElement
|
+--xmto2xmta.tree.TimingElement
|
+--xmto2xmta.tree.GroupElement
|
+--xmto2xmta.tree.body
- All Implemented Interfaces:
- SeqContainable, ZorderSupport
- public class body
- extends GroupElement
- implements SeqContainable
Class to handle the conversion of the body element.
History:
- 13 Dec 2000 - Created file.
- 16 Feb 2001 - Create the route's par separate from the Node's par so that we can
guarantee that the routes at a specific time are added after the
nodes. This is so that we don't have forward referencing of ids, where
the rout may reference a node before the node is added to the tree.
- 06 Jun 2001 - Add support (ParContainable) support to distinguish
that this classes contains timing elements in a
seq manner.
Fields inherited from class xmto2xmta.tree.TimingElement |
timingElementRes_, xmtoAttrBegin_, xmtoAttrDur_, xmtoAttrEnd_, xmtoAttrEndsync_, xmtoAttrFill_, xmtoAttrFillDefault_, xmtoAttrMax_, xmtoAttrMin_, xmtoAttrRepeatCount_, xmtoAttrRepeatDur_, xmtoAttrRestart_, xmtoAttrRestartDefault_ |
Fields inherited from class xmto2xmta.tree.ConvertElement |
convertIndexTable_, index_, xmtaDoc_, xmtaIds_, xmtaParNodes_, xmtaParOds_, xmtaParRoutes_, xmto2Xmta_, xmtoAttrId_, xmtoElement_, xmtoIds_ |
Constructor Summary |
body(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 |
getXmtaOrderedGroupId(ELASid elasId)
Get the id for the XMT-A ordered group to which media objects are added. |
static void |
setDebug(boolean debug)
Enable debugging information to be printed to the console. |
java.lang.String |
toString()
|
Methods inherited from class xmto2xmta.tree.TimingElement |
getXmtoAttrBegin, getXmtoAttrDur, getXmtoAttrEnd, getXmtoAttrEndsync, getXmtoAttrFill, getXmtoAttrFillDefault, getXmtoAttrMax, getXmtoAttrMin, getXmtoAttrRepeatCount, getXmtoAttrRepeatDur, getXmtoAttrRepeatRestart, getXmtoAttrRepeatRestartDefault, handleValidateSyntax, validateDefsObjectTimingSyntax, validateSyntax |
Methods inherited from class xmto2xmta.tree.ConvertElement |
addToParNode, addToParOd, addToParRoutes, createChildren, fireErrorEvent, fireErrorEvent, fireErrorEvent, getConvertIndexTable, getIndex, getXmtaDoc, getXmtaIds, getXmto2Xmta, getXmtoAttrId, getXmtoElement, getXmtoIds, insertIntoXmtaTree, remove |
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).
body_
private org.w3c.dom.Element body_
parOds_
private org.w3c.dom.Element parOds_
parNodes_
private org.w3c.dom.Element parNodes_
parRoutes_
private org.w3c.dom.Element parRoutes_
orderedGroupID_
private java.lang.String orderedGroupID_
backgroundGroupID_
private java.lang.String backgroundGroupID_
xmto2XmtaRes_
private java.util.ResourceBundle xmto2XmtaRes_
body
public body(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.
getXmtaOrderedGroupId
public java.lang.String getXmtaOrderedGroupId(ELASid elasId)
- Get the id for the XMT-A ordered group to which media objects are added.
All children go it the same ordered group id.
- Overrides:
getXmtaOrderedGroupId
in class GroupElement
- Returns:
- the id (DEF) of the XMT-A ordered group.
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