Xj3D 2.0 VRML/X3D Code API

org.web3d.vrml.nodes
Interface VRMLMetadataObjectNodeType

All Known Implementing Classes:
BaseMetadataObjectNode

public interface VRMLMetadataObjectNodeType

Marker interface that represents the X3DMetadataObject abstract data type as basic datatype.

All base nodes have a metadata ability added to them. However, only some nodes can be the metadata itself. Therefore this type does not extend the usual VRMLNodeType base interface.

Version:
$Revision: 1.1 $
Author:
Justin Couch

Method Summary
 java.lang.String getName()
          Get the currently set name associated with this metadata object.
 java.lang.String getReference()
          Get the currently set reference associated with this metadata object.
 void setName(java.lang.String name)
          Set the name value for the metadata object.
 void setReference(java.lang.String reference)
          Set the reference value for the metadata object.
 

Method Detail

getName

java.lang.String getName()
Get the currently set name associated with this metadata object. If none is set, this returns null.

Returns:
The current name

setName

void setName(java.lang.String name)
Set the name value for the metadata object. Use null to clear the currently set name.

Parameters:
name - The name to use

getReference

java.lang.String getReference()
Get the currently set reference associated with this metadata object. If none is set, this returns null.

Returns:
The current reference

setReference

void setReference(java.lang.String reference)
Set the reference value for the metadata object. Use null to clear the currently set reference.

Parameters:
reference - The reference to use

Xj3D 2.0 VRML/X3D Code API

Copyright © 2001 - 2006 Web3D Consortium