Class MetadataDouble

All Implemented Interfaces:
MetadataDouble, X3DMetadataObject, X3DNode

public class MetadataDouble extends X3DConcreteNode implements MetadataDouble
The metadata provided by this node is contained in the double-precision floating point numbers of the value field.

X3D node tooltip: [X3DNode,X3DMetadataObject] MetadataDouble contains a typed list of values providing metadata information about its parent node. Further information about this specific Metadata* node may be provided by a single child Metadata* node with containerField="metadata".
  • Hint: use containerField="value" if the parent node is MetadataSet.
  • Hint: if a metadata node is needed as a top-level root node for the scene, first insert a parent WorldInfo (or WorldInfo/MetadataSet) to contain it.
  • Hint: if present, an IS statement is the first child within any other node.
  • Hint: an IS statement precedes any sibling Metadata* node, which in turn precedes any other sibling nodes.
  • Hint: The choice of MetadataDouble versus MetadataFloat usually depends on the relevant tool utilizing the value, or else the relevant metadata reference defining the value.
  • Hint: comments are not readable when a model file is loaded for viewing, but WorldInfo and Metadata* nodes are persistent and inspectable at run time.
  • Hint: X3D for Web Authors, Chapter 15, Metadata Information https://x3dgraphics.com/examples/X3dForWebAuthors/Chapter15-Metadata/Chapter15-MetadataInformation.html

Package hint: This org.web3d.x3d.jsail concrete class is used for implementing a standalone X3D object as a Plain Old Java Object (POJO). If you are writing Java code for use inside an X3D Script node, compile separate code using only the org.web3d.x3d.sai package instead.
See Also:
X3D Abstract Specification: MetadataDouble, X3D Tooltips: MetadataDouble, X3D Scene Authoring Hints: Metadata
  • Field Details

    • NAME

      public static final String NAME
      String constant NAME provides name of this element: MetadataDouble.
      See Also:
      Constant Field Values
    • COMPONENT

      public static final String COMPONENT
      String constant COMPONENT defines X3D component for the MetadataDouble element: Core
      See Also:
      Constant Field Values
    • LEVEL

      public static final int LEVEL
      Integer constant LEVEL provides default X3D Core component level for this element: 1
      See Also:
      Constant Field Values
    • IS_DEFAULT_VALUE

      public static final IS IS_DEFAULT_VALUE
      SFNode field named IS has default value null (Java syntax) or NULL (XML syntax).
    • METADATA_DEFAULT_VALUE

      public static final X3DMetadataObject METADATA_DEFAULT_VALUE
      SFNode field named metadata has default value null (Java syntax) or NULL (XML syntax).
    • NAME_DEFAULT_VALUE

      public static final String NAME_DEFAULT_VALUE
      SFString field named name has default value equal to an empty string.
      See Also:
      Constant Field Values
    • REFERENCE_DEFAULT_VALUE

      public static final String REFERENCE_DEFAULT_VALUE
      SFString field named reference has default value equal to an empty string.
      See Also:
      Constant Field Values
    • VALUE_DEFAULT_VALUE

      public static final ArrayList<Double> VALUE_DEFAULT_VALUE
      MFDouble field named value has default value equal to an empty list.
    • containerField_DEFAULT_VALUE

      public static final String containerField_DEFAULT_VALUE
      containerField describes typical field relationship of a node to its parent. Usage is not ordinarily needed when using this API, default value is provided for informational purposes.
      See Also:
      X3D Scene Authoring Hints: containerField, X3D Unified Object Model (X3DUOM), Constant Field Values
    • fromField_IS

      public static final String fromField_IS
      fromField ROUTE name for SFNode field named IS.
      See Also:
      Constant Field Values
    • fromField_METADATA

      public static final String fromField_METADATA
      fromField ROUTE name for SFNode field named metadata.
      See Also:
      Constant Field Values
    • toField_METADATA

      public static final String toField_METADATA
      toField ROUTE name for SFNode field named metadata.
      See Also:
      Constant Field Values
    • fromField_NAME

      public static final String fromField_NAME
      fromField ROUTE name for SFString field named name.
      See Also:
      Constant Field Values
    • toField_NAME

      public static final String toField_NAME
      toField ROUTE name for SFString field named name.
      See Also:
      Constant Field Values
    • fromField_REFERENCE

      public static final String fromField_REFERENCE
      fromField ROUTE name for SFString field named reference.
      See Also:
      Constant Field Values
    • toField_REFERENCE

      public static final String toField_REFERENCE
      toField ROUTE name for SFString field named reference.
      See Also:
      Constant Field Values
    • fromField_VALUE

      public static final String fromField_VALUE
      fromField ROUTE name for MFDouble field named value.
      See Also:
      Constant Field Values
    • toField_VALUE

      public static final String toField_VALUE
      toField ROUTE name for MFDouble field named value.
      See Also:
      Constant Field Values
  • Constructor Details

    • MetadataDouble

      public MetadataDouble()
      Constructor for MetadataDouble to initialize member variables with default values.
    • MetadataDouble

      public MetadataDouble(String DEFlabel)
      Utility constructor that assigns DEF label after initializing member variables with default values.
      Parameters:
      DEFlabel - unique DEF name for this X3D node
    • MetadataDouble

      public MetadataDouble(String DEFlabel, String newName)
      Utility constructor that assigns both DEF label and name, after initializing member variables with default values.
      Parameters:
      DEFlabel - unique DEF name for this X3D node
      newName - name for this meta element
      See Also:
      X3D Tooltips: MetadataDouble, X3D Scene Authoring Hints: Metadata Nodes
  • Method Details