Interface FieldExtras
public interface FieldExtras
Factory abstract interface for generating field objects from a given node.
The idea of this factory is to break a circular compile dependency between SF/MFNode and all the field classes.
- Version:
- $Revision: 1.1 $
- Author:
- Justin Couch
-
Method Summary
Modifier and TypeMethodDescriptionLocate the field factory appropriate to this node and context information.parseVrmlString
(String vrmlString) Create a collection of VRML Objects from a string.
-
Method Details
-
parseVrmlString
Create a collection of VRML Objects from a string. Used by the SFNode constructor, so we should only ever have one object returned, but an array is returned just in case.- Parameters:
vrmlString
- The string containing VRML statements- Returns:
- A scene containing all the information
- Throws:
VRMLException
VRMLParseException
-
getFieldFactory
FieldFactory getFieldFactory()Locate the field factory appropriate to this node and context information. Used so that the field factory can generate the nodes within the correct execution space etc.- Returns:
- The local field factory instance in use
-