Package org.xj3d.sai.external.node.core
Class SAIMetadataSet
java.lang.Object
org.web3d.vrml.scripting.external.sai.SAINode
org.xj3d.sai.external.node.core.SAIMetadataSet
- All Implemented Interfaces:
MetadataSet,X3DMetadataObject,X3DNode
A concrete implementation of the MetadataSet node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Constructor Summary
ConstructorsConstructorDescriptionSAIMetadataSet(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor -
Method Summary
Modifier and TypeMethodDescriptiongetName()Return the name String value.intReturn the number of MFNode items in the value field.Return the reference String value.voidReturn the value value in the argument X3DNode[]voidSet the name field.voidsetReference(String val) Set the reference field.voidSet the value field.Methods inherited from class org.web3d.vrml.scripting.external.sai.SAINode
dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadataMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAIMetadataSet
public SAIMetadataSet(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor- Parameters:
queue-
-
-
Method Details
-
getName
Return the name String value.- Specified by:
getNamein interfaceX3DMetadataObject- Returns:
- The name String value.
-
setName
Set the name field.- Specified by:
setNamein interfaceX3DMetadataObject- Parameters:
val- The String to set.
-
getReference
Return the reference String value.- Specified by:
getReferencein interfaceX3DMetadataObject- Returns:
- The reference String value.
-
setReference
Set the reference field.- Specified by:
setReferencein interfaceX3DMetadataObject- Parameters:
val- The String to set.
-
getNumValue
public int getNumValue()Return the number of MFNode items in the value field.- Specified by:
getNumValuein interfaceMetadataSet- Returns:
- the number of MFNode items in the value field.
-
getValue
Return the value value in the argument X3DNode[]- Specified by:
getValuein interfaceMetadataSet- Parameters:
val- The X3DNode[] to initialize.
-
setValue
Set the value field.- Specified by:
setValuein interfaceMetadataSet- Parameters:
val- The X3DNode[] to set.
-