xmto2xmta.tree
Class backdrop
java.lang.Object
|
+--xmto2xmta.tree.TreeElement
|
+--xmto2xmta.tree.ConvertElement
|
+--xmto2xmta.tree.TimingElement
|
+--xmto2xmta.tree.AugmentationElement
|
+--xmto2xmta.tree.backdrop
- All Implemented Interfaces:
- DefsObject
- public class backdrop
- extends AugmentationElement
Class to handle the conversion of the body element.
History:
- 13 Dec 2000 - Created file.
- 16 Apr 2000 - Change resolve timings to use TimeScheduler.
- 30 Apr 2001 - Add switch to generate new format for XMT-A files.
- 01 May 2001 - Changed too much of the old stuff, video descriptor.
- 12 Jun 2001 - Add support for defs id.
Fields inherited from class xmto2xmta.tree.TimingElement |
timingElementRes_, xmtoAttrBegin_, xmtoAttrDur_, xmtoAttrEnd_, xmtoAttrEndsync_, xmtoAttrFill_, xmtoAttrFillDefault_, xmtoAttrMax_, xmtoAttrMin_, xmtoAttrRepeatCount_, xmtoAttrRepeatDur_, xmtoAttrRestart_, xmtoAttrRestartDefault_ |
Constructor Summary |
backdrop(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.TimingElement |
getXmtoAttrBegin, getXmtoAttrDur, getXmtoAttrEnd, getXmtoAttrEndsync, getXmtoAttrFill, getXmtoAttrFillDefault, getXmtoAttrMax, getXmtoAttrMin, getXmtoAttrRepeatCount, getXmtoAttrRepeatDur, getXmtoAttrRepeatRestart, getXmtoAttrRepeatRestartDefault, 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).
ODID_URL_PREFIX
protected static final java.lang.String ODID_URL_PREFIX
FILE_URL_PREFIX
private static final java.lang.String FILE_URL_PREFIX
parInsert_
private org.w3c.dom.Element parInsert_
parUpdate_
private org.w3c.dom.Element parUpdate_
parRemove_
private org.w3c.dom.Element parRemove_
parDelete_
private org.w3c.dom.Element parDelete_
xmtaParNodes_
private org.w3c.dom.Element xmtaParNodes_
xmtaParOds_
private org.w3c.dom.Element xmtaParOds_
xmtaAttrColor_
private java.lang.String xmtaAttrColor_
xmtoAttrSrc_
private java.lang.String xmtoAttrSrc_
xmtaBackground2dIds_
private java.util.Hashtable xmtaBackground2dIds_
xmtaEsDescriptorIds_
private java.util.Hashtable xmtaEsDescriptorIds_
xmtaObjectDescriptorIds_
private java.util.Hashtable xmtaObjectDescriptorIds_
xmto2XmtaRes_
private java.util.ResourceBundle xmto2XmtaRes_
backdrop
public backdrop(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.
getXmtaAttrColor
public java.lang.String getXmtaAttrColor()
getXmtaBackground2dId
public java.lang.String getXmtaBackground2dId(ELASid elasId)
- Get the id for the MovieTexture element.
getXmtaDefsId
public java.lang.String getXmtaDefsId()
- Get the defs id of the object.
- Returns:
- the unique id of this object.
getXmtaEsDescriptorId
public java.lang.String getXmtaEsDescriptorId(ELASid elasId)
- Get the id for the MovieTexture element.
getXmtaObjectDescriptorId
public java.lang.String getXmtaObjectDescriptorId(ELASid elasId)
- Get the id for the MovieTexture element.
getXmtoAttrSrc
public java.lang.String getXmtoAttrSrc()
getXmtoAttrSrcCanonical
public java.lang.String getXmtoAttrSrcCanonical()
- Return the canonical path of the file that the src attribute refers to.
The file is relative to the document path.
handleValidateSyntax
protected boolean handleValidateSyntax(java.lang.String attributeName,
java.lang.String attributeValue)
- Handle the attribute by checking its syntax. This is to catch all syntax
errors which the schema can not check for, and thus the DOM parser
doesn't find any problems. Call the parent handler to see if it can
handle the attribute or not.
- Overrides:
handleValidateSyntax
in class TimingElement
- Parameters:
attributeName
- node name of attribute.attributeValue
- node value of attribute.- Returns:
- whether this attribute is handled or not.
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