Package org.xj3d.sai.internal.node.core
Class SAIMetadataDouble
java.lang.Object
org.web3d.vrml.scripting.sai.BaseNode
org.xj3d.sai.internal.node.core.SAIMetadataDouble
- All Implemented Interfaces:
MetadataDouble,X3DMetadataObject,X3DNode
A concrete implementation of the MetadataDouble node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Field Summary
Fields inherited from class org.web3d.vrml.scripting.sai.BaseNode
accessPermitted, fieldQueue, fieldRefMap, realNode -
Constructor Summary
ConstructorsConstructorDescriptionSAIMetadataDouble(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor -
Method Summary
Modifier and TypeMethodDescriptiongetName()Return the name String value.intReturn the number of MFDouble items in the value field.Return the reference String value.voidgetValue(double[] val) Return the value value in the argument double[]voidSet the name field.voidsetReference(String val) Set the reference field.voidsetValue(double[] val) Set the value field.Methods inherited from class org.web3d.vrml.scripting.sai.BaseNode
checkAccess, dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadata, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAIMetadataDouble
public SAIMetadataDouble(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor- Parameters:
bnf-
-
-
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 MFDouble items in the value field.- Specified by:
getNumValuein interfaceMetadataDouble- Returns:
- the number of MFDouble items in the value field.
-
getValue
public void getValue(double[] val) Return the value value in the argument double[]- Specified by:
getValuein interfaceMetadataDouble- Parameters:
val- The double[] to initialize.
-
setValue
public void setValue(double[] val) Set the value field.- Specified by:
setValuein interfaceMetadataDouble- Parameters:
val- The double[] to set.
-