|
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
org.web3d.vrml.lang.WriteableSceneMetaData
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 |
| Fields inherited from class org.web3d.vrml.lang.SceneMetaData |
ASCII_ENCODING, BIFS_ENCODING, BINARY_ENCODING, components, LAST_STD_ENCODING, metaData, profile, SCRIPTED_ENCODING, VRML_ENCODING, XML_ENCODING |
| Constructor Summary | |
WriteableSceneMetaData(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 | |
void |
addComponent(ComponentInfo comp)
Add a component description to this meta data. |
void |
addMetaData(java.lang.String name,
java.lang.String value)
Add a meta tag data item to this scene. |
void |
removeMetaData(java.lang.String name)
Remove the named tag from the map. |
void |
setProfileName(java.lang.String prof)
Set the name of the profile that is used by this scene. |
| Methods inherited from class org.web3d.vrml.lang.SceneMetaData |
getComponents, getEncoding, getMetaData, getProfileName, getVersion, isVrmlSpec |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WriteableSceneMetaData(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 file| Method Detail |
public void setProfileName(java.lang.String prof)
prof - The profile namepublic void addComponent(ComponentInfo comp)
comp - The component information to add
public void addMetaData(java.lang.String name,
java.lang.String value)
name - The name of the tag to addvalue - The value of the tag
java.lang.NullPointerException - The name or value were nullpublic void removeMetaData(java.lang.String name)
name - The name of the tag to remove
|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||