org.web3d.vrml.scripting.sai
Class DefaultFieldFactory
java.lang.Object
org.web3d.vrml.scripting.sai.DefaultFieldFactory
- All Implemented Interfaces:
- FieldFactory
public class DefaultFieldFactory
- extends java.lang.Object
- implements FieldFactory
Factory class for generating fields from a given node.
- Version:
- $Revision: 1.7 $
- Author:
- Justin Couch
|
Method Summary |
org.web3d.vrml.scripting.sai.BaseField |
createField(VRMLNodeType node,
java.lang.String name,
boolean checkEventIn,
boolean internal,
java.lang.ref.ReferenceQueue fieldQueue,
BaseNodeFactory baseNodeFac)
Create a field given a name from the node. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultFieldFactory
public DefaultFieldFactory()
createField
public org.web3d.vrml.scripting.sai.BaseField createField(VRMLNodeType node,
java.lang.String name,
boolean checkEventIn,
boolean internal,
java.lang.ref.ReferenceQueue fieldQueue,
BaseNodeFactory baseNodeFac)
- Create a field given a name from the node.
- Specified by:
createField in interface FieldFactory
- 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 propogating s2 requestsbaseNodeFac - The factory used to create node wrappers
- Returns:
- An instance of the field class representing the field or null
- Throws:
InvalidEventInException - The field is not an eventIn
InvalidExposedFieldException - The field is not an exposedField
Copyright © 2001 - 2006 Web3D Consortium