Package org.web3d.vrml.scripting.sai
Class DefaultFieldFactory
java.lang.Object
org.web3d.vrml.scripting.sai.DefaultFieldFactory
- All Implemented Interfaces:
FieldFactory
Factory class for generating fields from a given node.
- Version:
- $Revision: 1.7 $
- Author:
- Justin Couch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.web3d.vrml.scripting.sai.BaseFieldcreateField(VRMLNodeType node, String name, boolean checkEventIn, boolean internal, ReferenceQueue<X3DField> fieldQueue, BaseNodeFactory baseNodeFac) Create a field given a name from the node.
-
Constructor Details
-
DefaultFieldFactory
public DefaultFieldFactory()
-
-
Method Details
-
createField
public org.web3d.vrml.scripting.sai.BaseField createField(VRMLNodeType node, String name, boolean checkEventIn, boolean internal, ReferenceQueue<X3DField> fieldQueue, BaseNodeFactory baseNodeFac) Create a field given a name from the node.- Specified by:
createFieldin interfaceFieldFactory- Parameters:
node- The node to create the field fromname- The name of the field to fetchcheckEventIn- true if we should check for an event ininternal- true if this represents an internal field definitionfieldQueue- The access listener for propagating s2 requestsbaseNodeFac- The factory used to create node wrappers- Returns:
- An instance of the field class representing the field or null
-