Class: MetadataString

X3D: 3.3
Component: Core
Status:
fully implemented

x3dom.nodeTypes. MetadataString

The metadata provided by this node is contained in the strings of the value field.

HTML Encoding and Default Values

<MetadataString metadata='X3DMetadataObject' name='""' reference='""' value='[]' ></MetadataString>

Inheritance


Constructor

MetadataString(ctx)

Constructor for MetadataString

Parameters:
Name Type Argument Default Description
ctx Object <optional>
null context object, containing initial settings like namespace

Fields

These are the X3D / X3DOM fields of this node. Values should usually be received / set as strings via DOM functions (i.e., using setAttribute("myFieldName", "myFieldValue") and getAttribute("myFieldName")).
Name Type Default Value Range Inheritance Standard Description
metadata SFNode X3DMetadataObject X3DMetadataObject Field to add metadata information
name SFString "" X3DMetadataObject The specification of a non-empty value for the name field is required.
reference SFString "" X3DMetadataObject The specification of the reference field is optional. If provided, it identifies the metadata standard or other specification that defines the name field. If the reference field is not provided or is empty, the meaning of the name field is considered implicit to the characters in the string.
value MFString []