|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.web3d.vrml.export.Exporter
org.web3d.vrml.export.BaseRetainedExporter
An exporter that brings the whole file into memory before exporting. This has same advantages and disadvantages. Advantages: Ease of implementation. Streamed writing has several difficulties. Disadvantages: Comments will be lost Locations of import/exports/proto decls/routes might be changed. Upgrade logic must be in terminal files unless we want to track current node/field In the future we'd like to perform this across a SAI graph(ie no SAV stream to sniff), this block will document what problems that will entail: The DEF table for .wrl files has duplicates, so getDEFNodes loses info ExternProto URL already has worldUrl added in, removeing worldRoot might not work TODO: Add BinaryContentHandler Count Node num to help place ROUTE in the right place?
| Field Summary | |
protected SceneBuilder |
builder
The NR scene builder to create the scenegraph |
protected java.util.ArrayList |
componentList
Additional components to add, list of ComponentInfo |
protected static java.lang.String |
CONTAINER_PROPS_FILE
Name of the property file holding the default container fields |
protected java.util.Properties |
containerFields
Property for container fields |
protected boolean |
convertOldContent
Should VRML97 optional nodes like h-Anim and GeoVRML be converted |
protected java.util.Map |
currentDefMap
The current DEF map, node to DEF name |
protected java.util.Map |
currentIsMap
The current IS map |
protected PrototypeDecl |
currentPrototypeDecl
The current proto definition |
protected VRMLNodeType |
defaultNode
The current default valued node |
protected java.util.HashMap |
defaultNodes
A cache of nodes with default values |
protected java.lang.String |
encodingTo
The current encoding |
protected java.util.HashMap |
epToUrl
Mapping of EXTERNPROTO to url[] |
protected VRMLFieldReader |
fieldReader
An X3DField reader for converting field types. |
protected java.util.HashMap |
fieldRemap
Fields to remap their types. |
protected boolean |
geospatialFound
Where there Geospatial nodes found |
protected java.util.HashMap |
geospatialNodes
Geospatial nodes |
protected boolean |
hanimFound
Where there H-Anim nodes found |
protected java.util.HashMap |
hanimNodes
H-Anim nodes |
protected java.util.HashMap |
isCache
A cache of IS map preprocessed versions |
protected int |
majorVersion
The major version of the spec this file belongs to. |
protected int |
minorVersion
The minor version of the spec this file belongs to. |
protected VRMLNodeFactory |
nodeFactory
The NR node factory to get default values from |
protected java.util.HashMap |
oldProtos
Protos/Extern Proto definitions to remove if convertOldContent is true |
protected java.io.OutputStream |
oStream
The stream to write results to |
protected boolean |
processingDocument
Are we processing a document |
protected java.lang.String |
profile
The profile |
protected CRProtoCreator |
protoCreator
The creator used to instantiate protos |
protected VRMLScene |
scene
The top scene |
protected java.util.regex.Pattern[] |
scriptPatterns
Upgrade patterns for scripts |
protected java.lang.String[] |
scriptReplacements
The replacement values |
protected boolean |
stripWhitespace
Should we strip whitespace |
protected boolean |
upgrading
Are we upgrading from VRML to X3D |
| Constructor Summary | |
BaseRetainedExporter(int major,
int minor)
Create a new exporter for the given spec version |
|
| Method Summary | |
void |
componentDecl(java.lang.String componentName)
A component declaration has been found in the code. |
protected void |
convertFieldData(int newType,
VRMLFieldData data,
VRMLFieldDeclaration decl)
Convert a field data from one type to another. |
void |
endDocument()
Declaration of the end of the document. |
void |
endExternProtoDecl()
Notification of the end of an EXTERNPROTO declaration. |
void |
endField()
Notification of the end of a field declaration. |
void |
endNode()
Notification of the end of a node declaration. |
void |
endProtoBody()
Notification of the end of an ordinary proto body. |
void |
endProtoDecl()
Notification of the end of an ordinary proto declaration statement. |
void |
endScriptDecl()
Notification of the end of a script declaration. |
void |
exportDecl(java.lang.String defName,
java.lang.String exported)
An EXPORT declaration has been found in the document. |
void |
externProtoURI(java.lang.String[] values)
Notification of the URI list for an EXTERNPROTO. |
void |
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(java.lang.String value)
The value of a normal field. |
void |
fieldValue(java.lang.String[] values)
The value of an MFField where the underlying parser knows about how the values are broken up. |
void |
fieldValue(java.lang.String[] value,
int len)
Set the value of the field at the given index as an array of strings. |
protected java.lang.String |
findIS(VRMLNodeType node,
int idx,
java.util.Map isMap)
Find the IS relationship for a node. |
protected java.lang.String |
getPublicId(int major,
int minor)
Get the publicId for this spec version |
protected java.lang.String |
getSystemId(int major,
int minor)
Get the publicId for this spec version |
void |
importDecl(java.lang.String inline,
java.lang.String exported,
java.lang.String imported)
An IMPORT declaration has been found in the document. |
protected void |
loadContainerProperties(int majorVersion,
int minorVersion)
Load the properties files for the given spec version. |
void |
metaDecl(java.lang.String key,
java.lang.String value)
A META declaration has been found in the code. |
protected abstract void |
printComponents(ComponentInfo[] comps)
Print the component decl |
protected void |
printDefMap(java.util.Map defMap)
Utility to print DEF mapping for debugging purposes. |
protected abstract void |
printExports(java.util.Map exports)
Print Exports. |
protected abstract void |
printHeader(int major,
int minor)
Print the header. |
protected abstract void |
printImports(java.util.Map imports)
Print Imports. |
protected void |
printIS(java.util.Map isMap)
Utility to print IS mapping for debugging purposes. |
protected abstract void |
printMetaData(java.util.Map meta)
Print the MetaData. |
protected abstract void |
printProfile(java.lang.String profile)
Print the profile decl. |
protected abstract void |
printPrototypeDecl(PrototypeDecl proto)
Print a proto declaration. |
protected abstract void |
printROUTE(ROUTE route,
java.util.Map defMap)
Print a ROUTE statement. |
void |
profileDecl(java.lang.String profileName)
A profile declaration has been found in the code. |
void |
protoFieldDecl(int access,
java.lang.String type,
java.lang.String name,
java.lang.Object value)
Notification of a proto's field declaration. |
void |
protoIsDecl(java.lang.String fieldName)
Notification of a field value uses an IS statement. |
protected void |
reverseMap(java.util.Map in,
java.util.Map out)
Reverse a maps key/value mapping. |
void |
routeDecl(java.lang.String srcNode,
java.lang.String srcField,
java.lang.String destNode,
java.lang.String destField)
Notification of a ROUTE declaration in the file. |
void |
scriptFieldDecl(int access,
java.lang.String type,
java.lang.String name,
java.lang.Object value)
Notification of a script's field declaration. |
void |
setConvertOldContent(boolean convert)
Should old optional content like h-Anim and GeoVRML be converted to native nodes. |
void |
setDocumentLocator(Locator loc)
Set the document locator that can be used by the implementing code to find out information about the current line information. |
void |
startDocument(java.lang.String uri,
java.lang.String url,
java.lang.String encoding,
java.lang.String type,
java.lang.String version,
java.lang.String comment)
Declaration of the start of the document. |
void |
startExternProtoDecl(java.lang.String name)
Notification of the start of an EXTERNPROTO declaration of the given name. |
void |
startField(java.lang.String name)
Notification of a field declaration. |
void |
startNode(java.lang.String name,
java.lang.String defName)
Notification of the start of a node. |
void |
startProtoBody()
Notification of the start of an ordinary proto body. |
void |
startProtoDecl(java.lang.String name)
Notification of the start of an ordinary (inline) proto declaration. |
void |
startScriptDecl()
Notification of the start of a script declaration. |
void |
useDecl(java.lang.String defName)
The field value is a USE for the given node name. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static final java.lang.String CONTAINER_PROPS_FILE
protected java.io.OutputStream oStream
protected int majorVersion
protected int minorVersion
protected SceneBuilder builder
protected VRMLNodeFactory nodeFactory
protected java.util.HashMap defaultNodes
protected VRMLNodeType defaultNode
protected boolean upgrading
protected java.util.Map currentDefMap
protected java.util.Map currentIsMap
protected PrototypeDecl currentPrototypeDecl
protected CRProtoCreator protoCreator
protected VRMLScene scene
protected java.lang.String profile
protected java.util.ArrayList componentList
protected java.util.HashMap epToUrl
protected java.util.regex.Pattern[] scriptPatterns
protected java.lang.String[] scriptReplacements
protected boolean convertOldContent
protected java.util.HashMap oldProtos
protected java.util.HashMap fieldRemap
protected boolean hanimFound
protected java.util.HashMap hanimNodes
protected boolean geospatialFound
protected java.util.HashMap geospatialNodes
protected java.util.HashMap isCache
protected java.util.Properties containerFields
protected java.lang.String encodingTo
protected boolean stripWhitespace
protected boolean processingDocument
protected VRMLFieldReader fieldReader
| Constructor Detail |
public BaseRetainedExporter(int major,
int minor)
major - The major version number of this sceneminor - The minor version number of this scene| Method Detail |
public void setConvertOldContent(boolean convert)
convert - true to convert the protos
protected abstract void printHeader(int major,
int minor)
major - The major versionminor - The minor versionprotected abstract void printProfile(java.lang.String profile)
profile - The profileprotected abstract void printComponents(ComponentInfo[] comps)
comps - The component listprotected abstract void printMetaData(java.util.Map meta)
meta - The scene Metadata mapprotected abstract void printPrototypeDecl(PrototypeDecl proto)
proto - The decl to print
protected abstract void printROUTE(ROUTE route,
java.util.Map defMap)
route - The ROUTE to printdefMap - The DEF mapprotected abstract void printExports(java.util.Map exports)
exports - A map of exports(name,AS).protected abstract void printImports(java.util.Map imports)
imports - A map of imports(exported, String[] {def, as}.
public void endDocument()
throws SAVException,
VRMLException
endDocument in interface ContentHandlerSAVException - 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.public void setDocumentLocator(Locator loc)
startDocument() has
been called, you can assume that you will not have one available.
setDocumentLocator in interface ContentHandlerloc - The locator instance to use
public void startDocument(java.lang.String uri,
java.lang.String url,
java.lang.String encoding,
java.lang.String type,
java.lang.String version,
java.lang.String comment)
throws SAVException,
VRMLException
# start. The type string contains the representation of
the first few characters of the file after the #. This allows us to
work out if it is VRML97 or the later X3D spec.
Version numbers change from VRML97 to X3D and aren't logical. In the
first, it is #VRML V2.0 and the second is
#X3D V1.0 even though this second header represents a
later spec.
startDocument in interface ContentHandleruri - The URI of the file.url - The base URL of the file for resolving relative URIs
contained in the fileencoding - The encoding of this document - utf8 or binarytype - The bytes of the first part of the file headerversion - The VRML version of this documentcomment - Any trailing text on this line. If there is none, this
is null.
SAVException - This call is taken at the wrong time in the
structure of the document
VRMLException - The content provided is invalid for this
part of the document or can't be parsed
public void profileDecl(java.lang.String profileName)
throws SAVException,
VRMLException
profileDecl in interface ContentHandlerprofileName - The name of the profile to use
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.
public void componentDecl(java.lang.String componentName)
throws SAVException,
VRMLException
componentDecl in interface ContentHandlercomponentName - The name of the component to use
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.
public void metaDecl(java.lang.String key,
java.lang.String value)
throws SAVException,
VRMLException
metaDecl in interface ContentHandlerkey - The value of the key stringvalue - The value of the value string
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.
public void importDecl(java.lang.String inline,
java.lang.String exported,
java.lang.String imported)
throws SAVException,
VRMLException
importDecl in interface ContentHandlerinline - The name of the inline DEF nodesexported - The exported name from the inlined fileimported - The local name to use for the exported name
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.
public void exportDecl(java.lang.String defName,
java.lang.String exported)
throws SAVException,
VRMLException
exportDecl in interface ContentHandlerdefName - The DEF name of the nodes to be exportedexported - The name to be exported as
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.
public void startNode(java.lang.String name,
java.lang.String defName)
throws SAVException,
VRMLException
startNode in interface ContentHandlername - The name of the node that we are about to parsedefName - The string associated with the DEF name. Null if not
given for this node.
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.
public void endNode()
throws SAVException,
VRMLException
endNode in interface ContentHandlerSAVException - 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.
public void startField(java.lang.String name)
throws SAVException,
VRMLException
ScriptHandler or ProtoHandler methods are
used.
startField in interface ContentHandlername - The name of the field declared
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.
public void fieldValue(java.lang.String value)
throws SAVException,
VRMLException
startField() or endNode().
If this field is an SFNode with a USE declaration you will have the
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.
fieldValue in interface BinaryContentHandlervalue - The value of this field
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.
public void fieldValue(java.lang.String[] values)
throws SAVException,
VRMLException
fieldValue in interface StringContentHandlervalues - The list of string representing the values
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.
public void fieldValue(int value)
throws SAVException,
VRMLException
fieldValue in interface BinaryContentHandlervalue - The new value to use for the node
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.
public void fieldValue(int[] value,
int len)
throws SAVException,
VRMLException
fieldValue in interface BinaryContentHandlervalue - The new value to use for the nodelen - The number of valid entries in the value array
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.
public void fieldValue(boolean value)
throws SAVException,
VRMLException
fieldValue in interface BinaryContentHandlervalue - The new value to use for the node
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.
public void fieldValue(boolean[] value,
int len)
throws SAVException,
VRMLException
fieldValue in interface BinaryContentHandlervalue - The new value to use for the nodelen - The number of valid entries in the value array
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.
public void fieldValue(float value)
throws SAVException,
VRMLException
fieldValue in interface BinaryContentHandlervalue - The new value to use for the node
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.
public void fieldValue(float[] value,
int len)
throws SAVException,
VRMLException
fieldValue in interface BinaryContentHandlervalue - The new value to use for the nodelen - The number of valid entries in the value array
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.
public void fieldValue(long value)
throws SAVException,
VRMLException
fieldValue in interface BinaryContentHandlervalue - The new value to use for the node
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.
public void fieldValue(long[] value,
int len)
throws SAVException,
VRMLException
fieldValue in interface BinaryContentHandlervalue - The new value to use for the nodelen - The number of valid entries in the value array
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.
public void fieldValue(double value)
throws SAVException,
VRMLException
fieldValue in interface BinaryContentHandlervalue - The new value to use for the node
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.
public void fieldValue(double[] value,
int len)
throws SAVException,
VRMLException
fieldValue in interface BinaryContentHandlervalue - The new value to use for the nodelen - The number of valid entries in the value array
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.
public void fieldValue(java.lang.String[] value,
int len)
throws SAVException,
VRMLException
fieldValue in interface BinaryContentHandlervalue - The new value to use for the nodelen - The number of valid entries in the value array
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.
public void useDecl(java.lang.String defName)
throws SAVException,
VRMLException
startField() or endNode().
useDecl in interface ContentHandlerdefName - The name of the DEF string to use
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.
public void endField()
throws SAVException,
VRMLException
useDecl(String) or fieldValue(String). This
will only ever be called if there have been nodes declared. If no nodes
have been declared (ie "[]") then you will get a
fieldValue(). call with the parameter value of null.
endField in interface ContentHandlerSAVException - 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.
public void routeDecl(java.lang.String srcNode,
java.lang.String srcField,
java.lang.String destNode,
java.lang.String destField)
throws SAVException,
VRMLException
routeDecl in interface RouteHandlersrcNode - The name of the DEF of the source nodesrcField - The name of the field to route values fromdestNode - The name of the DEF of the destination nodedestField - The name of the field to route values to
SAVException - This call is taken at the wrong time in the
structure of the document.
VRMLException
public void startScriptDecl()
throws SAVException,
VRMLException
endScriptDecl() call belong to this
script node. This method will be called after the ContentHandler
startNode() method call. All DEF information is contained
in that method call and this just signifies the start of script
processing so that we know to treat the field parsing callbacks a
little differently.
startScriptDecl in interface ScriptHandlerSAVException - 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.
public void endScriptDecl()
throws SAVException,
VRMLException
endNode() callback.
endScriptDecl in interface ScriptHandlerSAVException - 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.
public void scriptFieldDecl(int access,
java.lang.String type,
java.lang.String name,
java.lang.Object value)
throws SAVException,
VRMLException
url, mustEvaluate and
directOutput fields. These fields use the normal field
callbacks of ContentHandler.
If the current parsing is in a proto and the field "value" is defined
with an IS statement then the value returned here is null. There will
be a subsequent call to the ProtoHandlers protoIsDecl()
method with the name of the field included.
scriptFieldDecl in interface ScriptHandleraccess - The access type (eg exposedField, field etc)type - The field type (eg SFInt32, MFVec3d etc)name - The name of the fieldvalue - The default value of the field as either String or
String[]. Null if not allowed.
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.
public void startProtoDecl(java.lang.String name)
throws SAVException,
VRMLException
startProtoDecl in interface ProtoHandlername - The name of the proto
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.
public void endProtoDecl()
throws SAVException,
VRMLException
startProtoBody() Then that method should toss an
exception.
endProtoDecl in interface ProtoHandlerSAVException - 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.
public void protoFieldDecl(int access,
java.lang.String type,
java.lang.String name,
java.lang.Object value)
throws SAVException,
VRMLException
protoFieldDecl in interface ProtoHandleraccess - The access type (eg exposedField, field etc)type - The field type (eg SFInt32, MFVec3d etc)name - The name of the fieldvalue - The default value of the field as either String or
String[]. Null if not allowed.
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.
public void protoIsDecl(java.lang.String fieldName)
throws SAVException,
VRMLException
protoIsDecl in interface ProtoHandlerfieldName - The name of the field that is being IS'd
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.
public void startProtoBody()
throws SAVException,
VRMLException
endProtoBody() statement form the body and not the normal
scenegraph information.
startProtoBody in interface ProtoHandlerSAVException - 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.
public void endProtoBody()
throws SAVException,
VRMLException
endProtoBody in interface ProtoHandlerSAVException - 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.
public void startExternProtoDecl(java.lang.String name)
throws SAVException,
VRMLException
endExternProtoDecl() call
you should only receive protoFieldDecl(int, java.lang.String, java.lang.String, java.lang.Object) calls.
startExternProtoDecl in interface ProtoHandlername - The node name of the extern proto
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.
public void endExternProtoDecl()
throws SAVException,
VRMLException
externProtoURI(java.lang.String[]) Then that method should toss an
exception.
endExternProtoDecl in interface ProtoHandlerSAVException - 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.
public void externProtoURI(java.lang.String[] values)
throws SAVException,
VRMLException
externProtoURI in interface ProtoHandlervalues - A list of strings representing all of the URI values
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.
protected java.lang.String findIS(VRMLNodeType node,
int idx,
java.util.Map isMap)
node - The current nodeidx - The current fieldisMap - The current IS mapprotected void printIS(java.util.Map isMap)
isMap - The map to printprotected void printDefMap(java.util.Map defMap)
defMap - The map to print
protected java.lang.String getPublicId(int major,
int minor)
major - The major versionminor - The minor version
protected java.lang.String getSystemId(int major,
int minor)
major - The major versionminor - The minor version
protected void reverseMap(java.util.Map in,
java.util.Map out)
protected void loadContainerProperties(int majorVersion,
int minorVersion)
majorVersion - The spec major versionminorVersion - The spec minor version
protected void convertFieldData(int newType,
VRMLFieldData data,
VRMLFieldDeclaration decl)
newType - The new typedata - The data to convert in placedecl - The field decl
|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||