Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.trapezium.vrml.grammar
Class DEFRule  view DEFRule download DEFRule.java

java.lang.Object
  extended bycom.trapezium.vrml.grammar.DEFRule

public class DEFRule
extends java.lang.Object

Creates a DEF node scene graph component. Grammar handled by "Build" method:

    DEF nodeNameId node
  
After the node is created, its name is registered in the Scene. If any other node is registered with that same name, both are marked with "duplicate DEF" warnings.

Since:
1.0
Version:
1.12, 24 April 1998, nodeRule parameter for autodef, 1.12, 12 March 1998, added Table 7 base profile warning, 1.1, 12 Dec 1997

Field Summary
(package private)  NodeRule nodeRule
           
 
Constructor Summary
(package private) DEFRule(NodeRule nodeRule)
           
 
Method Summary
(package private)  void Build(int tokenOffset, com.trapezium.parse.TokenEnumerator v, com.trapezium.vrml.Scene scene, com.trapezium.vrml.VrmlElement parent)
          Create DEF node scene graph components, and add to the Scene graph.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nodeRule

NodeRule nodeRule
Constructor Detail

DEFRule

DEFRule(NodeRule nodeRule)
Method Detail

Build

void Build(int tokenOffset,
           com.trapezium.parse.TokenEnumerator v,
           com.trapezium.vrml.Scene scene,
           com.trapezium.vrml.VrmlElement parent)
Create DEF node scene graph components, and add to the Scene graph.