XMT-O Reference Software

xmto2xmta.mapmedia
Class MedPolygons

java.lang.Object
  |
  +--xmto2xmta.MapRoot
        |
        +--xmto2xmta.mapmedia.MedMediaElement
              |
              +--xmto2xmta.mapmedia.MedInternalElement
                    |
                    +--xmto2xmta.mapmedia.MedPolygons
All Implemented Interfaces:
MapInterface

public class MedPolygons
extends MedInternalElement

Class to handle the conversion of the polygons element.

History:


Field Summary
private static boolean debug_
          Whether debug information is to be printed to the console.
private  polygons treePolygons_
           
private  java.util.ResourceBundle xmto2XmtaRes_
           
 
Fields inherited from class xmto2xmta.mapmedia.MedMediaElement
treeMediaElement_
 
Fields inherited from class xmto2xmta.MapRoot
treeElement_, xmto2xmta_
 
Constructor Summary
MedPolygons()
           
 
Method Summary
protected  boolean fillInGeometry(org.w3c.dom.Element geometry, ELASid elasId)
          Create the IndexedFaceSet2D infrastructure.
 void init(Xmto2Xmta xmto2xmta, ConvertElement element)
           
static void setDebug(boolean debug)
          Enable debugging information to be printed to the console.
 java.lang.String toString()
           
 
Methods inherited from class xmto2xmta.mapmedia.MedInternalElement
fillInTransform2dChildren
 
Methods inherited from class xmto2xmta.mapmedia.MedMediaElement
createDeleteMapping, createDeleteMapping, createEventDeleteMapping, createEventInsertMapping, createInsertMapping, createInsertMapping, createXmtaMapping, deleteNodeAtEndOfDuration, doEventTimingMapping, doMapping, doTimingMapping, generateDeleteMapping, generateInsertMapping
 
Methods inherited from class xmto2xmta.MapRoot
fireErrorEvent, fireErrorEvent, fireErrorEvent, getConvertElement
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

debug_

private static boolean debug_
Whether debug information is to be printed to the console. default is not have debug information printed (false).

treePolygons_

private polygons treePolygons_

xmto2XmtaRes_

private java.util.ResourceBundle xmto2XmtaRes_
Constructor Detail

MedPolygons

public MedPolygons()
Method Detail

fillInGeometry

protected boolean fillInGeometry(org.w3c.dom.Element geometry,
                                 ELASid elasId)
Create the IndexedFaceSet2D infrastructure.
 <IndexedFaceSet2D DEF="???" color="???"/>
 
Overrides:
fillInGeometry in class MedInternalElement

init

public void init(Xmto2Xmta xmto2xmta,
                 ConvertElement element)
          throws java.lang.Exception
Overrides:
init in class MedMediaElement

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

XMT-O Reference Software