|
XMT-O Reference Software | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--xmto2xmta.tree.TreeElement | +--xmto2xmta.tree.ConvertElement | +--xmto2xmta.tree.StructureElement | +--xmto2xmta.tree.RegionContainerElement | +--xmto2xmta.tree.region
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 static boolean |
classesLoaded_
|
private static boolean |
debug_
Whether debug information is to be printed to the console. |
private java.util.Hashtable |
deletePositions_
|
private static java.lang.reflect.Method |
getXmtoAttrRegionMethodGroup_
|
private static java.lang.Class |
groupClass_
|
private boolean |
positionsDetermined_
|
private boolean |
usePositions_
|
private java.lang.String |
xmtaLayer2dId_
|
private java.lang.String |
xmtaLayoutOrderedGroupId_
|
private java.lang.String |
xmtaOrderedGroupId_
|
private java.lang.String |
xmtaTransform2dId_
|
private java.util.ResourceBundle |
xmto2XmtaRes_
|
private java.lang.String |
xmtoAttrSize_
|
private java.lang.String |
xmtoAttrTranslation_
|
private java.lang.String |
xmtoAttrZindex_
|
Fields inherited from class xmto2xmta.tree.ConvertElement |
convertIndexTable_, index_, xmtaDoc_, xmtaIds_, xmtaParNodes_, xmtaParOds_, xmtaParRoutes_, xmto2Xmta_, xmtoAttrId_, xmtoElement_, xmtoIds_ |
Fields inherited from class xmto2xmta.tree.TreeElement |
children, parent_ |
Constructor Summary | |
region(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 | |
private java.util.Vector |
determineChildrenElements(ConvertElement parent)
Create a list of the timing element children of this region node. |
private void |
determineDeleteFieldPositions()
Add a media element into the ordered group. |
int |
getDeleteFieldPosition(ELASid elasId)
Determine the field position at time of deletion for the media/group element in the group. |
java.lang.String |
getXmtaLayer2dId()
Get the id for the XMT-A ordered group to which region objects are added. |
java.lang.String |
getXmtaLayoutOrderedGroupId()
Get the id for the XMT-A ordered group to which region objects are added. |
java.lang.String |
getXmtaOrderedGroupId()
Get the id for the XMT-A ordered group to which media objects are added. |
java.lang.String |
getXmtaOrderedGroupId(ELASid elasId)
Get the id for the XMT-A ordered group to which media objects are added. |
java.lang.String |
getXmtaTransform2dId()
Get the id for the XMT-A ordered group to which region objects are added. |
java.lang.String |
getXmtoAttrSize()
|
java.lang.String |
getXmtoAttrTranslation()
|
java.lang.String |
getXmtoAttrZindex()
|
protected boolean |
handleValidateSyntax(java.lang.String attributeName,
java.lang.String attributeValue)
Handle the attribute by checking its syntax. |
private static void |
loadClasses()
|
static void |
setDebug(boolean debug)
Enable debugging information to be printed to the console. |
java.lang.String |
toString()
|
boolean |
usePositions()
Return whether the z-ordering positioning is used for the children or not. |
Methods inherited from class xmto2xmta.tree.ConvertElement |
addToParNode, addToParOd, addToParRoutes, createChildren, fireErrorEvent, fireErrorEvent, fireErrorEvent, getConvertIndexTable, getIndex, getXmtaDoc, getXmtaIds, getXmto2Xmta, getXmtoAttrId, getXmtoElement, getXmtoIds, insertIntoXmtaTree, remove, validateSyntax |
Methods inherited from class xmto2xmta.tree.TreeElement |
addChild, getChildren, getParent, removeChild, setParent |
Methods inherited from class java.lang.Object |
|
Field Detail |
private static boolean debug_
private java.lang.String xmtoAttrTranslation_
private java.lang.String xmtoAttrSize_
private java.lang.String xmtoAttrZindex_
private java.lang.String xmtaOrderedGroupId_
private java.lang.String xmtaLayoutOrderedGroupId_
private java.lang.String xmtaLayer2dId_
private java.lang.String xmtaTransform2dId_
private java.util.Hashtable deletePositions_
private boolean positionsDetermined_
private boolean usePositions_
private static java.lang.Class groupClass_
private static java.lang.reflect.Method getXmtoAttrRegionMethodGroup_
private static boolean classesLoaded_
private java.util.ResourceBundle xmto2XmtaRes_
Constructor Detail |
public region(org.w3c.dom.Element xmtoElement, java.util.Hashtable xmtoIds, java.util.Hashtable xmtaIds, java.util.Hashtable convertIndexTable, org.w3c.dom.Document xmtaDoc, Xmto2Xmta xmto2Xmta)
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 |
private java.util.Vector determineChildrenElements(ConvertElement parent)
private void determineDeleteFieldPositions()
mediaElement
- XMT-A media object to be added into ordered group.public int getDeleteFieldPosition(ELASid elasId)
getDeleteFieldPosition
in interface ZorderSupport
elasId
- id to specify which simple duration of a child element.public java.lang.String getXmtaLayer2dId()
public java.lang.String getXmtaLayoutOrderedGroupId()
getXmtaLayoutOrderedGroupId
in class RegionContainerElement
public java.lang.String getXmtaOrderedGroupId()
public java.lang.String getXmtaOrderedGroupId(ELASid elasId)
getXmtaOrderedGroupId
in interface ZorderSupport
public java.lang.String getXmtaTransform2dId()
public java.lang.String getXmtoAttrSize()
public java.lang.String getXmtoAttrTranslation()
public java.lang.String getXmtoAttrZindex()
protected boolean handleValidateSyntax(java.lang.String attributeName, java.lang.String attributeValue)
handleValidateSyntax
in class ConvertElement
attributeName
- node name of attribute.attributeValue
- node value of attribute.private static void loadClasses()
public static void setDebug(boolean debug)
debug
- sets debug information is printedpublic java.lang.String toString()
toString
in class TreeElement
public boolean usePositions()
usePositions
in interface ZorderSupport
|
XMT-O Reference Software | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |