Package xj3d.filter.node
Class CommonEncodableFactory
java.lang.Object
xj3d.filter.node.CommonEncodableFactory
Factory class for producing CommonEncodable objects.
- Version:
- $Revision: 1.0 $
- Author:
- Rex Melton
-
Constructor Summary
ConstructorsConstructorDescriptionCommonEncodableFactory
(ContentHandler handler, ScriptHandler scriptHandler, VRMLFieldReader reader) Constructor -
Method Summary
Modifier and TypeMethodDescriptiongetEncodable
(String nodeName, String defName) Return the CommonEncodable object for the argument node name.
-
Constructor Details
-
CommonEncodableFactory
public CommonEncodableFactory(ContentHandler handler, ScriptHandler scriptHandler, VRMLFieldReader reader) Constructor- Parameters:
handler
- the ContentHandlerscriptHandler
- the ScriptHandlerreader
- the VRMLFieldReader
-
-
Method Details
-
getEncodable
Return the CommonEncodable object for the argument node name. If the node is unknown, null is returned.- Parameters:
nodeName
- The node identifierdefName
- The DEF name to assign to the node- Returns:
- The node object
-