6 private static final HashMap nodeTypes;
7 private static final HashMap fwTypes;
9 public int X3D_Component_Networking = 1;
10 public int X3D_Component_Shape = 2;
11 public int X3D_Component_Geometry2D = 3;
12 public int X3D_Component_Sound = 4;
13 public int X3D_Component_EnvironmentalEffects = 5;
14 public int X3D_Component_Navigation = 6;
15 public int X3D_Component_EventUtilities = 7;
16 public int X3D_Component_Geometry3D = 8;
17 public int X3D_Component_Rendering = 9;
18 public int X3D_Component_Interpolation = 10;
19 public int X3D_Component_Nurbs = 11;
20 public int X3D_Component_PointingDevice = 12;
21 public int X3D_Component_Lighting = 13;
22 public int X3D_Component_Text = 14;
23 public int X3D_Component_Geospatial = 15;
24 public int X3D_Component_Grouping = 16;
25 public int X3D_Component_HAnim = 17;
26 public int X3D_Component_Texturing = 18;
27 public int X3D_Component_EnvironmentalSensor = 19;
28 public int X3D_Component_Scripting = 20;
29 public int X3D_Component_Time = 21;
33 nodeTypes =
new HashMap();
35 nodeTypes.put(
new Integer(X3DBounded2DObject),
"X3DBounded2DObject");
36 nodeTypes.put(
new Integer(X3DURLObject),
"X3DURLObject");
42 nodeTypes.put(
new Integer(X3DTexture3DNode),
"X3DTexture3DNode");
46 nodeTypes.put(
new Integer(
X3DTextNode),
"X3DTextNode");
49 nodeTypes.put(
new Integer(
X3DColorNode),
"X3DColorNode");
55 nodeTypes.put(
new Integer(
X3DChildNode),
"X3DChildNode");
59 nodeTypes.put(
new Integer(
X3DShapeNode),
"X3DShapeNode");
61 nodeTypes.put(
new Integer(
X3DLightNode),
"X3DLightNode");
74 nodeTypes.put(
new Integer(
X3DInfoNode),
"X3DInfoNode");
76 fwTypes =
new HashMap();
79 public static String getStringType(
int type) {
80 return (String) nodeTypes.get(
new Integer(type));