xmto2xmta.mapgroup
Class GrpRegion
java.lang.Object
|
+--xmto2xmta.MapRoot
|
+--xmto2xmta.mapgroup.GrpRegion
- All Implemented Interfaces:
- MapInterface
- public class GrpRegion
- extends MapRoot
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.
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).
treeRegion_
private region treeRegion_
xmto2XmtaRes_
private java.util.ResourceBundle xmto2XmtaRes_
GrpRegion
public GrpRegion()
createInsertMapping
protected boolean createInsertMapping()
- Create the group infrastructure.
The infrastructure contains the par node for the insertion.
The par node for the insertion contains the information for the element. This also
takes care of the position in the ordered group field (for z-order).
<par begin="0">
<Insert atNode="???">
<Transform2D DEF="???">
<children>
<Layer2D DEF="???" size="???">
<children>
<OrderedGroup DEF="???">
<children/>
</OrderedGroup>
<OrderedGroup DEF="???">
<children/>
</OrderedGroup>
</children>
</Layer2D>
</children>
</Transform2D>
</Insert>
<Insert atField="order" atNode="???" position="END" value="???"/>
</par>
doMapping
public void doMapping()
getOrderAttribute
public java.lang.String getOrderAttribute()
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
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object