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

Quick Search    Search Deep

Source code: com/trapezium/vrml/grammar/DEFNameFactory.java


1   package com.trapezium.vrml.grammar;
2   
3   /** The DEFNameFactory provides an interface option for the VRML97parser
4    *  that allows it to automatically generate DEF names for nodes that
5    *  do not have DEF names.
6    */
7   public interface DEFNameFactory {
8       /** Create a DEF name.
9        *
10       *  @param nodeOrPROTOname the name of the Node or PROTO.  This is
11       *     provided so that name generation can be limited to a subset of
12       *     nodes.
13       *
14       *  @return the generated name, or null if no DEF is to be provided
15       *     for the node.
16       */
17      String createDEFName( String nodeOrPROTOname );
18  }