Package org.web3d.vrml.sav
Interface StringContentHandler
- All Superinterfaces:
ContentHandler
- All Known Subinterfaces:
SceneBuilder
- All Known Implementing Classes:
AbsScaleFilter
,AbstractFilter
,AppearanceFilter
,AppearanceReplacerFilter
,BaseFilter
,BaseRetainedExporter
,BinaryExporter
,CenterFilter
,ColorRGBAtoRGBFilter
,CombineAppearanceFilter
,CombinerFilter
,CombineShapeFilter
,CombineTransformFilter
,CommonEncodedBaseFilter
,CRExternProtoBuilder
,CRMainSceneBuilder
,DebugFilter
,DEFChooserFilter
,DEFReplacerFilter
,DEFUSEImageTextureFilter
,EncodedBaseFilter
,EncodedFilter
,ExceptionGenerator
,ExplodeShapesFilter
,Exporter
,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
,StatisticsCollector
,STLBinaryFileExporter
,STLFileExporter
,TextureTransformFilter
,ThreeMFFileExporter
,TransformFilter
,TriangleCountInfoFilter
,TriangulationFilter
,TwoPassFilter
,URLCaseCorrectorFilter
,URLFullyQualifyFilter
,USERedundantNodeFilter
,ValidateIndexFilter
,VrmlExporter
,WorldOffsetFilter
,X3DBinaryRetainedDirectExporter
,X3DClassicExporter
,X3DClassicRetainedExporter
,X3DMemoryExporter
,X3DRetainedSAXExporter
,X3DXMLExporter
,X3DXMLRetainedExporter
Receiver of notifications from the VRML document about node declaration
information. All field values are sent as strings.
- Version:
- $Revision: 1.1 $
- Author:
- Alan Hudson
-
Method Summary
Modifier and TypeMethodDescriptionvoid
fieldValue
(String value) The value of a normal field.void
fieldValue
(String[] values) The value of an MFField where the underlying parser knows about how the values are broken up.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
The value of a normal field. This is a string that represents the entire value of the field. MFStrings will have to be parsed. This is a terminating call for startField as well. The next call will either be anotherstartField()
orendNode()
.If this field is an SFNode with a USE declaration you will have the
ContentHandler.useDecl(String)
method called rather than this method. If the SFNode is empty the value returned here will be "NULL".There are times where we have an MFField that is declared in the file to be empty. To signify this case, this method will be called with a parameter value of null. A lot of the time this is because we can't really determine if the incoming node is an MFNode or not.
- Parameters:
value
- The value of this field- 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
The value of an MFField where the underlying parser knows about how the values are broken up. The parser is not required to support this callback, but implementors of this interface should understand it. The most likely time we will have this method called is for MFString or URL lists. If called, it is guaranteed to split the strings along the SF node type boundaries.- Parameters:
values
- The list of string representing the values- 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.
-