|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xj3d.sai.X3DNodeTypeMapper
public class X3DNodeTypeMapper
A utility class for handling abstract node type functions, Including:
| Constructor Summary | |
|---|---|
protected |
X3DNodeTypeMapper()
Protected Constructor |
| Method Summary | |
|---|---|
static X3DNodeTypeMapper |
getInstance()
Return the instance of the X3DNodeTypeMapper |
java.util.Map<java.lang.String,java.lang.String[]> |
getInterfaceMap()
Return an unmodifiable interface map. |
java.lang.String[] |
getInterfaces(java.lang.String node_name)
Return the array of interface names for the named argument node |
int[] |
getInterfaceTypes(java.lang.String node_name)
Return the array of abstract node types for the named argument node |
int |
getType(java.lang.String typeName)
Return the X3DNodeType constant that cooresponds to the abstract node type name. |
java.lang.String |
getTypeName(int type)
Return the abstract node type name that cooresponds to the X3DNodeType constant. |
static void |
main(java.lang.String[] arg)
Test routine to echo out the nodes and inherited types in "spec" format. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected X3DNodeTypeMapper()
| Method Detail |
|---|
public static X3DNodeTypeMapper getInstance()
public java.lang.String[] getInterfaces(java.lang.String node_name)
node_name - The node for which to determine the interfaces
public int[] getInterfaceTypes(java.lang.String node_name)
node_name - The node for which to determine the interfaces
public java.util.Map<java.lang.String,java.lang.String[]> getInterfaceMap()
public java.lang.String getTypeName(int type)
type - The X3DNodeType constant
public int getType(java.lang.String typeName)
typeName - The abstract node type name.
public static void main(java.lang.String[] arg)
|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||