|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Definition of a class that is used to build scenes from parsed content.
The interface is used to define a complete system that can be passed to a VRMLReader instance and create a complete scene graph so that it can be used within scripts.
| Method Summary | |
void |
allowVRML97Only(boolean enabled)
Change the builder to recognise only VRML97 content or allow any version to be loaded. |
VRMLScene |
getScene()
Get the scene that was last built by this scene handler. |
void |
reset()
Reset the builder. |
void |
setErrorReporter(ErrorReporter reporter)
Set the error handler instance used by this instance of the builder. |
void |
setFrameStateManager(FrameStateManager fsm)
Set the frame state manager to use for the builder after this point. |
| Methods inherited from interface org.web3d.vrml.sav.StringContentHandler |
fieldValue, fieldValue |
| Methods inherited from interface org.web3d.vrml.sav.ContentHandler |
componentDecl, endDocument, endField, endNode, exportDecl, importDecl, metaDecl, profileDecl, setDocumentLocator, startDocument, startField, startNode, useDecl |
| Methods inherited from interface org.web3d.vrml.sav.BinaryContentHandler |
fieldValue, fieldValue, fieldValue, fieldValue, fieldValue, fieldValue, fieldValue, fieldValue, fieldValue, fieldValue, fieldValue, fieldValue |
| Methods inherited from interface org.web3d.vrml.sav.ProtoHandler |
endExternProtoDecl, endProtoBody, endProtoDecl, externProtoURI, protoFieldDecl, protoIsDecl, startExternProtoDecl, startProtoBody, startProtoDecl |
| Methods inherited from interface org.web3d.vrml.sav.RouteHandler |
routeDecl |
| Methods inherited from interface org.web3d.vrml.sav.ScriptHandler |
endScriptDecl, scriptFieldDecl, startScriptDecl |
| Method Detail |
public void setErrorReporter(ErrorReporter reporter)
reporter - The handler instance to use or null to clearpublic void reset()
VRMLReader.parse(org.web3d.vrml.sav.InputSource) method is called.
public void setFrameStateManager(FrameStateManager fsm)
fsm - The state manager to usepublic void allowVRML97Only(boolean enabled)
enabled - true to restrict content to VRML97 onlypublic VRMLScene getScene()
|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||