x3d
Interface Node


public abstract interface Node

The interface to a VRML node. An actual node implementation supports this interface.

Version:
1.0
Author:
Holger Grahn, Kristof Nast-Kolb, Bitmanagement Software

Method Summary
 Field getField(java.lang.String name)
          Get any field for this node, either EventIn, EventOut or exposedField.
 java.lang.String getName()
          Get the name this node.
 java.lang.String getType()
          Get the type of this node.
 

Method Detail

getType

public java.lang.String getType()
                         throws X3DException
Get the type of this node. The string returned should be the name of the X3D node, e.g. Transform.
Returns:
string with the type of this node.
Throws:
X3DException - The node isn't valid anymore

getName

public java.lang.String getName()
                         throws X3DException
Get the name this node.
Returns:
string with the name of this node.
Throws:
X3DException - The node isn't valid anymore

getField

public Field getField(java.lang.String name)
               throws X3DException
Get any field for this node, either EventIn, EventOut or exposedField.

Parameters:
name - The name of the field that is required
Returns:
A reference to the requested field.
Throws:
X3DException - The node isn't valid anymore or the named field does not exist for this node.

Questions or comments.
Copyright 1999, Bitmanagement Software, Inc.