|
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.lang.SceneMetaData
MetaData related to the scene.
MetaData provides setup information that is useful when trying to blend multiple scenes together. For example, it will tell you about what version and encoding the source file was in.
| Field Summary | |
static int |
ASCII_ENCODING
VRML 1.0 ASCII encoding |
static int |
BIFS_ENCODING
MPEG-4 BIFS encoding |
static int |
BINARY_ENCODING
Binary encoding |
protected java.util.ArrayList |
components
List of components that were used |
static int |
LAST_STD_ENCODING
The index to use for the start of a custom encoding representation if an end user wants to build their own custom parser. |
protected java.util.HashMap |
metaData
Map of Meta tag information in name/value pairs |
protected java.lang.String |
profile
The profile name used, if any. |
static int |
SCRIPTED_ENCODING
The scene was built from userland code using scripting |
static int |
VRML_ENCODING
VRML97 classic encoding (UTF8) |
static int |
XML_ENCODING
XML encoding |
| Constructor Summary | |
|
SceneMetaData(SceneMetaData src)
Create a new, non-writeable instance that copies the information from the given source |
protected |
SceneMetaData(java.lang.String ver,
boolean vrml,
int enc)
Create a new metadata instance for a scene that describes the given subset of information of the specification. |
| Method Summary | |
ComponentInfo[] |
getComponents()
Get the list of all the components declared in the scene. |
int |
getEncoding()
Get the encoding of the original file type. |
java.util.Map |
getMetaData()
Get the meta data mapping from this scene. |
java.lang.String |
getProfileName()
Get the name of the profile used by this scene. |
java.lang.String |
getVersion()
Get the specification version name that was used to describe this scene. |
boolean |
isVrmlSpec()
Get the flag indicating what specification this is refering to. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int SCRIPTED_ENCODING
public static final int ASCII_ENCODING
public static final int VRML_ENCODING
public static final int XML_ENCODING
public static final int BINARY_ENCODING
public static final int BIFS_ENCODING
public static final int LAST_STD_ENCODING
protected java.lang.String profile
protected java.util.ArrayList components
protected java.util.HashMap metaData
| Constructor Detail |
protected SceneMetaData(java.lang.String ver,
boolean vrml,
int enc)
ver - The version string to be supportedvrml - true if this is a VRMLX spec, false for X3Denc - The encoding type used for the source filepublic SceneMetaData(SceneMetaData src)
src - The metadata to source the information from| Method Detail |
public java.lang.String getVersion()
public boolean isVrmlSpec()
public int getEncoding()
public java.lang.String getProfileName()
public ComponentInfo[] getComponents()
public java.util.Map getMetaData()
|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||