[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[x3d-public] Checking node type



What would be an efficient way to check the type of a node in an X3D scenegraph consisting of X3DNode objects? getNodeName returns a String which seems to me a bit unsuitable towards this end as it requires string comparisons, also I'm not sure I understand what getNodeType returns.
 
Any help will be appreciated.
 
George