org.web3d.vrml.renderer.ogl
Class OGLExternProtoBuilder
java.lang.Object
org.web3d.vrml.renderer.CRExternProtoBuilder
org.web3d.vrml.renderer.ogl.OGLExternProtoBuilder
- All Implemented Interfaces:
- BinaryContentHandler, ContentHandler, ProtoHandler, RouteHandler, ScriptHandler, StringContentHandler
public class OGLExternProtoBuilder
- extends CRExternProtoBuilder
A SAV interface for dealing with building a single extern proto.
The builder is designed to create a single proto. However, that single proto
may well have nested protos as part of it, so we must deal with that too.
- Version:
- $Revision: 1.11 $
- Author:
- Justin Couch
| Methods inherited from class org.web3d.vrml.renderer.CRExternProtoBuilder |
componentDecl, endDocument, endExternProtoDecl, endField, endNode, endProtoBody, endProtoDecl, endScriptDecl, exportDecl, externProtoURI, fieldValue, fieldValue, fieldValue, fieldValue, fieldValue, fieldValue, fieldValue, fieldValue, fieldValue, fieldValue, fieldValue, fieldValue, fieldValue, getPrototype, importDecl, metaDecl, newProto, profileDecl, protoFieldDecl, protoIsDecl, reset, routeDecl, scriptFieldDecl, setDocumentLocator, setErrorReporter, setFrameStateManager, setGlobals, setLoadRequirements, startDocument, startExternProtoDecl, startField, startNode, startProtoBody, startProtoDecl, startScriptDecl, useDecl |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OGLExternProtoBuilder
public OGLExternProtoBuilder(VRMLNodeFactory fac)
throws java.lang.NullPointerException
- Create a new default instance of the scene builder. This uses the
default factory for nodes non-renderable nodes.
- Parameters:
fac - The factory to use for creating the instances
- Throws:
java.lang.NullPointerException - The factory reference is null
createDecl
public CRExternPrototypeDecl createDecl(java.lang.String name,
VRMLNodeFactory fac,
int majorVersion,
int minorVersion,
NodeTemplateToInstanceCreator creator)
- Create a declaration suitable for filling in as a new proto.
- Specified by:
createDecl in class CRExternProtoBuilder
- Parameters:
name - The name applied to the proto decl in the filefac - The factory to use for creating the instancesmajorVersion - The major version number of this sceneminorVersion - The minor version number of this scenecreator - The node creator for generating instances of ourself
Copyright © 2001 - 2006 Web3D Consortium