Package org.web3d.vrml.sav
Interface BinaryContentHandler
- All Superinterfaces:
ContentHandler
- All Known Subinterfaces:
SceneBuilder
- All Known Implementing Classes:
AbsScaleFilter
,AbstractFilter
,AppearanceFilter
,AppearanceReplacerFilter
,BaseFilter
,BaseRetainedExporter
,CenterFilter
,ColorRGBAtoRGBFilter
,CombineAppearanceFilter
,CombinerFilter
,CombineShapeFilter
,CombineTransformFilter
,CommonEncodedBaseFilter
,CRExternProtoBuilder
,CRMainSceneBuilder
,DebugFilter
,DEFChooserFilter
,DEFReplacerFilter
,DEFUSEImageTextureFilter
,EncodedBaseFilter
,EncodedFilter
,ExceptionGenerator
,ExplodeShapesFilter
,ExportPixelTextureFilter
,FlattenSelectableFilter
,FlattenTextureTransformFilter
,FlattenTransformFilter
,GenNormalsFilter
,GlobalBoundsFilter
,IdentityFilter
,IFSFilter
,IFSToITSFilter
,IFSToTSFilter
,IndexFilter
,ITSCreaseAnglerFilter
,LocalURLFilter
,ManifoldInfoFilter
,MaterialFilter
,MinimizeProfileFilter
,ModifyViewpointFilter
,NewAbstractFilter
,NodeChooserFilter
,NodeCountInfoFilter
,NRExternProtoBuilder
,NRVRMLSceneBuilder
,NullExporter
,OBJFileExporter
,OGLExternProtoBuilder
,OGLVRMLSceneBuilder
,ProtoBuilder
,ReindexFilter
,RemoveNodeFilter
,RemoveNormalsFilter
,RemoveUnusedDEFFilter
,ShortenDEFFilter
,StackTracerFilter
,STLBinaryFileExporter
,STLFileExporter
,TextureTransformFilter
,ThreeMFFileExporter
,TransformFilter
,TriangleCountInfoFilter
,TriangulationFilter
,TwoPassFilter
,URLCaseCorrectorFilter
,URLFullyQualifyFilter
,USERedundantNodeFilter
,ValidateIndexFilter
,VrmlExporter
,WorldOffsetFilter
,X3DBinaryRetainedDirectExporter
,X3DClassicRetainedExporter
,X3DMemoryExporter
,X3DRetainedSAXExporter
,X3DXMLRetainedExporter
Receiver of notifications from the VRML document about node declaration
information. All field values are sent as binary bits.
- Version:
- $Revision: 1.2 $
- Author:
- Alan Hudson
-
Method Summary
Modifier and TypeMethodDescriptionvoid
fieldValue
(boolean value) Set the value of the field at the given index as an boolean.void
fieldValue
(boolean[] value, int len) Set the value of the field at the given index as an array of boolean.void
fieldValue
(double value) Set the value of the field at the given index as an double.void
fieldValue
(double[] value, int len) Set the value of the field at the given index as an array of doubles.void
fieldValue
(float value) Set the value of the field at the given index as a float.void
fieldValue
(float[] value, int len) Set the value of the field at the given index as an array of floats.void
fieldValue
(int value) Set the value of the field at the given index as an integer.void
fieldValue
(int[] value, int len) Set the value of the field at the given index as an array of integers.void
fieldValue
(long value) Set the value of the field at the given index as an long.void
fieldValue
(long[] value, int len) Set the value of the field at the given index as an array of longs.void
fieldValue
(String value) Set the value of the field at the given index as a string.void
fieldValue
(String[] value, int len) Set the value of the field at the given index as an array of strings.Methods inherited from interface org.web3d.vrml.sav.ContentHandler
componentDecl, endDocument, endField, endNode, exportDecl, importDecl, metaDecl, profileDecl, setDocumentLocator, startDocument, startField, startNode, useDecl
-
Method Details
-
fieldValue
Set the value of the field at the given index as an integer. This would be used to set SFInt32 field types.- Parameters:
value
- The new value to use for the node- Throws:
SAVException
- This call is taken at the wrong time in the structure of the document.VRMLException
- This call is taken at the wrong time in the structure of the document.
-
fieldValue
Set the value of the field at the given index as an array of integers. This would be used to set MFInt32 field types.- Parameters:
value
- The new value to use for the nodelen
- The number of valid entries in the value array- Throws:
SAVException
- This call is taken at the wrong time in the structure of the document.VRMLException
- This call is taken at the wrong time in the structure of the document.
-
fieldValue
Set the value of the field at the given index as an boolean. This would be used to set SFBool field types.- Parameters:
value
- The new value to use for the node- Throws:
SAVException
- This call is taken at the wrong time in the structure of the document.VRMLException
- This call is taken at the wrong time in the structure of the document.
-
fieldValue
Set the value of the field at the given index as an array of boolean. This would be used to set MFBool field types.- Parameters:
value
- The new value to use for the nodelen
- The number of valid entries in the value array- Throws:
SAVException
- This call is taken at the wrong time in the structure of the document.VRMLException
- This call is taken at the wrong time in the structure of the document.
-
fieldValue
Set the value of the field at the given index as a float. This would be used to set SFFloat field types.- Parameters:
value
- The new value to use for the node- Throws:
SAVException
- This call is taken at the wrong time in the structure of the document.VRMLException
- This call is taken at the wrong time in the structure of the document.
-
fieldValue
Set the value of the field at the given index as an array of floats. This would be used to set MFFloat, SFVec2f, SFVec3f and SFRotation field types.- Parameters:
value
- The new value to use for the nodelen
- The number of valid entries in the value array- Throws:
SAVException
- This call is taken at the wrong time in the structure of the document.VRMLException
- This call is taken at the wrong time in the structure of the document.
-
fieldValue
Set the value of the field at the given index as an long. This would be used to set SFTime field types.- Parameters:
value
- The new value to use for the node- Throws:
SAVException
- This call is taken at the wrong time in the structure of the document.VRMLException
- This call is taken at the wrong time in the structure of the document.
-
fieldValue
Set the value of the field at the given index as an array of longs. This would be used to set MFTime field types.- Parameters:
value
- The new value to use for the nodelen
- The number of valid entries in the value array- Throws:
SAVException
- This call is taken at the wrong time in the structure of the document.VRMLException
- This call is taken at the wrong time in the structure of the document.
-
fieldValue
Set the value of the field at the given index as an double. This would be used to set SFDouble field types.- Parameters:
value
- The new value to use for the node- Throws:
SAVException
- This call is taken at the wrong time in the structure of the document.VRMLException
- This call is taken at the wrong time in the structure of the document.
-
fieldValue
Set the value of the field at the given index as an array of doubles. This would be used to set MFDouble, SFVec2d and SFVec3d field types.- Parameters:
value
- The new value to use for the nodelen
- The number of valid entries in the value array- Throws:
SAVException
- This call is taken at the wrong time in the structure of the document.VRMLException
- This call is taken at the wrong time in the structure of the document.
-
fieldValue
Set the value of the field at the given index as a string. This would be used to set SFString field types.- Parameters:
value
- The new value to use for the node- Throws:
SAVException
- This call is taken at the wrong time in the structure of the document.VRMLException
- This call is taken at the wrong time in the structure of the document.
-
fieldValue
Set the value of the field at the given index as an array of strings. This would be used to set MFString field types.- Parameters:
value
- The new value to use for the nodelen
- The number of valid entries in the value array- Throws:
SAVException
- This call is taken at the wrong time in the structure of the document.VRMLException
- This call is taken at the wrong time in the structure of the document.
-