Package org.web3d.x3d.sai.Core
Interface X3DMetadataObject
- All Known Subinterfaces:
MetadataBoolean,MetadataDouble,MetadataFloat,MetadataInteger,MetadataSet,MetadataString
- All Known Implementing Classes:
MetadataBooleanObject,MetadataDoubleObject,MetadataFloatObject,MetadataIntegerObject,MetadataSetObject,MetadataStringObject
public interface X3DMetadataObject
Each node inheriting the X3DMetadataObject interface contains a single array of strictly typed values: MFBool, MFInt32, MFFloat, MFDouble, MFString, or MFNode, the latter having children that are all Metadata nodes.
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
-
Method Summary
Modifier and Type Method Description java.lang.StringgetName()Provide String value from inputOutput SFString field named name.java.lang.StringgetReference()Provide String value from inputOutput SFString field named reference.X3DMetadataObjectsetName(java.lang.String newValue)Accessor method to assign String value to inputOutput SFString field named name.X3DMetadataObjectsetReference(java.lang.String newValue)Accessor method to assign String value to inputOutput SFString field named reference.
-
Method Details
-
getName
java.lang.String getName()Provide String value from inputOutput SFString field named name.- Returns:
- value of name field
-
setName
Accessor method to assign String value to inputOutput SFString field named name.- Parameters:
newValue- is new value for the name field.- Returns:
X3DMetadataObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getReference
java.lang.String getReference()Provide String value from inputOutput SFString field named reference.- Returns:
- value of reference field
-
setReference
Accessor method to assign String value to inputOutput SFString field named reference.- Parameters:
newValue- is new value for the reference field.- Returns:
X3DMetadataObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-