xmto2xmta.mapxmediachildren
Class XchXmediaChildrenDefsElement
java.lang.Object
|
+--xmto2xmta.MapRoot
|
+--xmto2xmta.mapxmediachildren.XchXmediaChildrenDefsElement
- All Implemented Interfaces:
- MapInterface
- Direct Known Subclasses:
- XchChromakey, XchFontStyle, XchMaterial, XchOutline
- public abstract class XchXmediaChildrenDefsElement
- extends MapRoot
Class to group together the Structure type of elements.
History:
- 12 Jun 2001 - Created file.
- Add use of media object and group support.
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, 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).
treeXmediaChild_
private XmediaChildrenDefsElement treeXmediaChild_
xmto2XmtaRes_
private java.util.ResourceBundle xmto2XmtaRes_
XchXmediaChildrenDefsElement
public XchXmediaChildrenDefsElement()
createInsertMapping
protected boolean createInsertMapping()
- Create the xMedia Child Element infrastructure.
The infrastructure contains the par node for the insertion.
This insertMapping is because the XMT-O xMediaChild element is found
underneath a <defs> element instead of a mediaObject
(or some other timing object) element.
Thus we need to insert into the defs infrastructure.
The place in the defs infrastructure is the same for each xMediaChild element.
Each xMediaChildStructure is going to have to have some xmta structure in order
to be placed int the defs structure.
<par begin="???">
<Insert atNode="???"/>
</par>
createInsertMapping
protected boolean createInsertMapping(ELASid elasId)
- Create the xMedia Child Element infrastructure.
The infrastructure contains the par node for the insertion.
This insertMapping is because the XMT-O xMediaChild element is found
underneath an mediaObject (or some other timing object) element.
Thus we need to replace the XMT-A field with the appropriate XMT-A node.
<par begin="???">
<Replace atField="???" atNode="???"/>
</par>
createXmtaDefsMapping
protected abstract org.w3c.dom.Element createXmtaDefsMapping()
- Create the xMedia Children Element Defs infrastructure.
createXmtaMapping
protected abstract org.w3c.dom.Element createXmtaMapping(ELASid elasId)
- Create the xMedia Children Element infrastructure.
doMapping
public void doMapping()
doTimingMapping
private boolean doTimingMapping()
getReplaceAtFieldAttr
protected abstract java.lang.String getReplaceAtFieldAttr()
- Get the XMTA field id in which the xMediaChild should be placed into.
getReplaceAtNodeAttr
protected abstract java.lang.String getReplaceAtNodeAttr(ELASid elasId)
- Get the XMTA node id in which the xMediaChild should be placed into.
init
public void init(Xmto2Xmta xmto2xmta,
ConvertElement element)
throws java.lang.Exception
- Overrides:
init
in class MapRoot
setDebug
public static void setDebug(boolean debug)
- Enable debugging information to be printed to the console.
- Parameters:
debug
- sets debug information is printed