Package org.web3d.x3d.jsail.Core
Class fieldValue
java.lang.Object
org.web3d.x3d.jsail.X3DConcreteElement
org.web3d.x3d.jsail.X3DConcreteStatement
org.web3d.x3d.jsail.Core.fieldValue
Functional summary: a fieldValue statement re-initializes the default value of a field in a ProtoInstance. Each fieldValue statement can contain either attribute-value or node content. This concrete class represents an X3D fieldValue statement.
fieldValue statement tooltip: A fieldValue statement re-initializes the default value of a field in a parent ProtoInstance. Note that a field statement with a matching name must be already defined by the corresponding ProtoDeclare or ExternProtoDeclare statement.
fieldValue statement tooltip: A fieldValue statement re-initializes the default value of a field in a parent ProtoInstance. Note that a field statement with a matching name must be already defined by the corresponding ProtoDeclare or ExternProtoDeclare statement.
- Hint: first add a parent ProtoInstance node before defining a new fieldValue.
- Warning: fieldValue content type must match the content type defined in the corresponding ProtoDeclare or ExternProtoDeclare field statement.
- Hint: in addition to defining a simple-type value attribute, a fieldValue statement can alternatively hold initializing SFNode/MFNode values as contained node(s).
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
String constant COMPONENT defines X3D component for the fieldValue element: Corestatic final int
Integer constant LEVEL provides default X3D Core component level for this element: 2static final String
String constant NAME provides name of this element: fieldValue.static final String
SFString field named name has default value equal to an empty string.static final String
SFString field named value has default value equal to an empty string.Fields inherited from class org.web3d.x3d.jsail.X3DConcreteElement
CLASS_DEFAULT_VALUE, ID_DEFAULT_VALUE, STYLE_DEFAULT_VALUE, validationResult
-
Constructor Summary
ConstructorDescriptionConstructor for fieldValue to initialize member variables with default values.fieldValue
(String fieldValueName) Utility constructor that also assigns fieldValueNamefieldValue
(String fieldValueName, String defaultValue) Utility constructor that also assigns fieldValueName, defaultValue -
Method Summary
Modifier and TypeMethodDescriptionUtility method to add single child element to contained list of existing children nodes (if any).addChildren
(ProtoInstance newValue) Add single ProtoInstance (with appropriate node type and containerField value) to MFNode array for children field.void
addChildren
(X3DNode newValue) Add single node to existing array of children nodes (if any).void
addChildren
(X3DNode[] newValue) Add array of children nodes to array of existing nodes (if any).addComments
(String newComment) Add comment as CommentsBlock to children fieldaddComments
(String[] newComments) Add comments as String[] array to children fieldaddComments
(CommentsBlock newCommentsBlock) Add CommentsBlock to children fieldappendValue
(boolean newValue) Append boolean to fieldValue for value attribute.appendValue
(double newValue) Append double to fieldValue for value attribute.appendValue
(float newValue) Append float to fieldValue for value attribute.appendValue
(int newValue) Append integer to fieldValue for value attribute.appendValue
(String newValue) Append String to fieldValue for value attribute.appendValue
(MFBool newValue) Append MFBool to fieldValue for value attribute.appendValue
(MFColor newValue) Append MFColor to fieldValue for value attribute.appendValue
(MFColorRGBA newValue) Append MFColorRGBA to fieldValue for value attribute.appendValue
(MFDouble newValue) Append MFDouble to fieldValue for value attribute.appendValue
(MFFloat newValue) Append MFFloat to fieldValue for value attribute.appendValue
(MFImage newValue) Append MFImage to fieldValue for value attribute.appendValue
(MFInt32 newValue) Append MFInt32 to fieldValue for value attribute.appendValue
(MFMatrix3d newValue) Append MFMatrix3d to fieldValue for value attribute.appendValue
(MFMatrix3f newValue) Append MFMatrix3f to fieldValue for value attribute.appendValue
(MFMatrix4d newValue) Append MFMatrix4d to fieldValue for value attribute.appendValue
(MFMatrix4f newValue) Append MFMatrix4f to fieldValue for value attribute.appendValue
(MFRotation newValue) Append MFRotation to fieldValue for value attribute.appendValue
(MFString newValue) Append MFString to fieldValue for value attribute.appendValue
(MFTime newValue) Append MFTime to fieldValue for value attribute.appendValue
(MFVec2d newValue) Append MFVec2d to fieldValue for value attribute.appendValue
(MFVec2f newValue) Append MFVec2f to fieldValue for value attribute.appendValue
(MFVec3d newValue) Append MFVec3d to fieldValue for value attribute.appendValue
(MFVec3f newValue) Append MFVec3f to fieldValue for value attribute.appendValue
(MFVec4d newValue) Append MFVec4d to fieldValue for value attribute.appendValue
(MFVec4f newValue) Append MFVec4f to fieldValue for value attribute.appendValue
(SFBool newValue) Append SFBool to fieldValue for value attribute.appendValue
(SFColor newValue) Append SFColor to fieldValue for value attribute.appendValue
(SFColorRGBA newValue) Append SFColorRGBA to fieldValue for value attribute.appendValue
(SFDouble newValue) Append SFDouble to fieldValue for value attribute.appendValue
(SFFloat newValue) Append SFFloat to fieldValue for value attribute.appendValue
(SFImage newValue) Append SFImage to fieldValue for value attribute.appendValue
(SFInt32 newValue) Append SFInt32 to fieldValue for value attribute.appendValue
(SFMatrix3d newValue) Append SFMatrix3d to fieldValue for value attribute.appendValue
(SFMatrix3f newValue) Append SFMatrix3f to fieldValue for value attribute.appendValue
(SFMatrix4d newValue) Append SFMatrix4d to fieldValue for value attribute.appendValue
(SFMatrix4f newValue) Append SFMatrix4f to fieldValue for value attribute.appendValue
(SFRotation newValue) Append SFRotation to fieldValue for value attribute.appendValue
(SFString newValue) Append SFString to fieldValue for value attribute.appendValue
(SFTime newValue) Append SFTime to fieldValue for value attribute.appendValue
(SFVec2d newValue) Append SFVec2d to fieldValue for value attribute.appendValue
(SFVec2f newValue) Append SFVec2f to fieldValue for value attribute.appendValue
(SFVec3d newValue) Append SFVec3d to fieldValue for value attribute.appendValue
(SFVec3f newValue) Append SFVec3f to fieldValue for value attribute.appendValue
(SFVec4d newValue) Append SFVec4d to fieldValue for value attribute.appendValue
(SFVec4f newValue) Append SFVec4f to fieldValue for value attribute.Utility method to clear MFNode value of children field.clearIS()
Utility method to clear SFNode value of IS field.Clear all values in a fieldValue declaration.findElementByNameValue
(String nameValue) Recursive method to provide object reference to node or statement by name attribute, if found as part of this element or in a contained element.findElementByNameValue
(String nameValue, String elementName) Recursive method to provide object reference to node or statement by name attribute, if found as part of this element or in a contained element.findNodeByDEF
(String DEFvalue) Recursive method to provide object reference to node by DEF, if found as this node or in a contained node.getAccessType
(String fieldName) Indicate accessType corresponding to given fieldName.Provide array of org.web3d.x3d.sai.Core.X3DNode results (using an array consisting of properly typed nodes or ProtoInstances) from inputOutput MFNode field children.final String
Defines X3D component for the fieldValue element: Corefinal int
Provides default X3D component level for this element: 2Provide String value from inputOutput SFString field named class.Provide String value from inputOutput SFString field named style.final String
Provides name of this element: fieldValuegetFieldType
(String fieldName) Indicate type corresponding to given fieldName.Provide String value from inputOutput SFString field named id.getIS()
Provide IS instance (using a properly typed node) from inputOutput SFNode field IS.getName()
Provide String value from inputOutput SFString field named name.getType()
Discover base type of this fieldValue declaration from corresponding ProtoDeclare/ExternProtoDeclare field declaration.getValue()
Provide String value from inputOutput SFString field named value.Get typed value of this fieldValue declaration.Get typed value of this fieldValue declaration.Get typed value of this fieldValue declaration.Get typed value of this fieldValue declaration.Get typed value of this fieldValue declaration.Get typed value of this fieldValue declaration.Get typed value of this fieldValue declaration.Get typed value of this fieldValue declaration.Get typed value of this fieldValue declaration.Get typed value of this fieldValue declaration.Get typed value of this fieldValue declaration.Get typed value of this fieldValue declaration.Get typed value of this fieldValue declaration.Get typed value of this fieldValue declaration.Get typed value of this fieldValue declaration.Get typed value of this fieldValue declaration.Get typed value of this fieldValue declaration.Get typed value of this fieldValue declaration.Get typed value of this fieldValue declaration.Get typed value of this fieldValue declaration.If type matches, then get typed value of a SFBool fieldValue declaration.If type matches, then get typed value of a SFColor fieldValue declaration.If type matches, then get typed value of a SFColorRGBA fieldValue declaration.If type matches, then get typed value of a SFDouble fieldValue declaration.If type matches, then get typed value of a SFFloat fieldValue declaration.If type matches, then get typed value of a SFImage fieldValue declaration.If type matches, then get typed value of a SFInt32 fieldValue declaration.If type matches, then get typed value of a SFMatrix3d fieldValue declaration.If type matches, then get typed value of a SFMatrix3f fieldValue declaration.If type matches, then get typed value of a SFMatrix4d fieldValue declaration.If type matches, then get typed value of a SFMatrix4f fieldValue declaration.If type matches, then get typed value of a SFRotation fieldValue declaration.If type matches, then get typed value of a SFString fieldValue declaration.If type matches, then get typed value of a SFTime fieldValue declaration.If type matches, then get typed value of a SFVec2d fieldValue declaration.If type matches, then get typed value of a SFVec2f fieldValue declaration.If type matches, then get typed value of a SFVec3d fieldValue declaration.If type matches, then get typed value of a SFVec3f fieldValue declaration.If type matches, then get typed value of a SFVec4d fieldValue declaration.If type matches, then get typed value of a SFVec4f fieldValue declaration.boolean
Indicate whether an object is available for inputOutput MFNode field children.boolean
Indicate whether a node or statement is found in inputOutput MFNode field children.boolean
hasElementByNameValue
(String nameValue, String elementName) Recursive method to determine whether node or statement with given name attribute is found, meaning both objects are attached to same scene graph.boolean
hasIS()
Indicate whether an object is available for inputOutput SFNode field IS.boolean
hasNodeByDEF
(String DEFvalue) Recursive method to determine whether node with DEFvalue is found, meaning both objects are attached to same scene graph.final void
Initialize all member variables to default values.setChildren
(ArrayList<X3DNode> newValue) Accessor method to assign org.web3d.x3d.sai.Core.X3DNode array (using an array consisting of properly typed nodes or ProtoInstances) to inputOutput MFNode field children.void
setChildren
(X3DNode newValue) Set single children node, replacing prior array of existing nodes (if any).final fieldValue
setCssClass
(String newValue) Accessor method to assign String value to inputOutput SFString field named class.setCssClass
(SFString newValue) Assign typed object value to SFString cssClass field, similar tosetCssClass(String)
.final fieldValue
setCssStyle
(String newValue) Accessor method to assign String value to inputOutput SFString field named style.setCssStyle
(SFString newValue) Assign typed object value to SFString cssClass field, similar tosetCssStyle(String)
.final fieldValue
Accessor method to assign String value to inputOutput SFString field named id.Assign typed object value to SFString HtmlID field, similar tosetHtmlID(String)
.Accessor method to assign IS instance (using a properly typed node) to inputOutput SFNode field IS.final fieldValue
Accessor method to assign String value to inputOutput SFString field named name.Assign typed object value to SFString name field, similar tosetName(String)
.setValue
(boolean newValue) Set typed value of a boolean fieldValue declaration.setValue
(boolean[] newValue) Set typed value of a boolean[] fieldValue declaration.setValue
(double newValue) Set typed value of a double fieldValue declaration.setValue
(double[] newValue) Set typed value of a double[] array fieldValue declaration.setValue
(float newValue) Set typed value of a float fieldValue declaration.setValue
(float[] newValue) Set typed value of a float[] array fieldValue declaration.setValue
(int newValue) Set typed value of a integer fieldValue declaration.setValue
(int[] newValue) Set typed value of a integer array fieldValue declaration.Accessor method to assign String value to inputOutput SFString field named value.Assign typed object String[] array value to fieldValue, similar tosetValue(String)
.Set typed value of a MFBool fieldValue declaration.Set typed value of a MFColor fieldValue declaration.setValue
(MFColorRGBA newValue) Set typed value of a MFColorRGBA fieldValue declaration.Set typed value of a MFDouble fieldValue declaration.Set typed value of a MFFloat fieldValue declaration.Set typed value of a MFImage fieldValue declaration.Set typed value of a MFInt32 fieldValue declaration.setValue
(MFMatrix3d newValue) Set typed value of a MFMatrix3d fieldValue declaration.setValue
(MFMatrix3f newValue) Set typed value of a MFMatrix3f fieldValue declaration.setValue
(MFMatrix4d newValue) Set typed value of a MFMatrix4d fieldValue declaration.setValue
(MFMatrix4f newValue) Set typed value of a MFMatrix4f fieldValue declaration.setValue
(MFRotation newValue) Set typed value of a MFRotation fieldValue declaration.Assign typed object MFString value to fieldValue, similar tosetValue(String)
.Set typed value of a MFTime fieldValue declaration.Set typed value of a MFVec2d fieldValue declaration.Set typed value of a MFVec2f fieldValue declaration.Set typed value of a MFVec3d fieldValue declaration.Set typed value of a MFVec3f fieldValue declaration.Set typed value of a MFVec4d fieldValue declaration.Set typed value of a MFVec4f fieldValue declaration.Set typed value of a SFBool fieldValue declaration.Set typed value of a SFColor fieldValue declaration.setValue
(SFColorRGBA newValue) Set typed value of a SFColorRGBA fieldValue declaration.Set typed value of a SFDouble fieldValue declaration.Set typed value of a SFFloat fieldValue declaration.Set typed value of a SFImage fieldValue declaration.Set typed value of a SFInt32 fieldValue declaration.setValue
(SFMatrix3d newValue) Set typed value of a SFMatrix3d fieldValue declaration.setValue
(SFMatrix3f newValue) Set typed value of a SFMatrix3f fieldValue declaration.setValue
(SFMatrix4d newValue) Set typed value of a SFMatrix4d fieldValue declaration.setValue
(SFMatrix4f newValue) Set typed value of a SFMatrix4f fieldValue declaration.setValue
(SFRotation newValue) Set typed value of a SFRotation fieldValue declaration.Assign typed object SFString value field, similar tosetValue(String)
.Set typed value of a SFTime fieldValue declaration.Set typed value of a SFVec2d fieldValue declaration.Set typed value of a SFVec2f fieldValue declaration.Set typed value of a SFVec3d fieldValue declaration.Set typed value of a SFVec3f fieldValue declaration.Set typed value of a SFVec4d fieldValue declaration.Set typed value of a SFVec4f fieldValue declaration.toStringClassicVRML
(int indentLevel) Recursive method to provide ClassicVRML string serialization.toStringVRML97
(int indentLevel) Recursive method to provide VRML97 string serialization.toStringX3D
(int indentLevel) Recursive method to provide X3D string serialization of this model subgraph, utilizing XML encoding and conforming to X3D Canonical Form.validate()
Recursive method to validate this element plus all contained nodes and statements, using both datatype-specification value checks and regular expression (regex) checking of corresponding string values.Methods inherited from class org.web3d.x3d.jsail.X3DConcreteStatement
isNode, isStatement
Methods inherited from class org.web3d.x3d.jsail.X3DConcreteElement
addComments, clearParent, findAncestorElementByName, findAncestorProtoBody, findAncestorScene, findAncestorX3D, getPackageName, getParent, getValidationResult, hasAncestorElementByName, hasAncestorProtoBody, hasAncestorScene, hasAncestorX3D, hasParent, isValid, setConcreteCssClass, setConcreteCssStyle, setConcreteHtmlID, setParent, toStringClassicVRML, toStringVRML97, toStringX3D
-
Field Details
-
NAME
String constant NAME provides name of this element: fieldValue.- See Also:
-
COMPONENT
String constant COMPONENT defines X3D component for the fieldValue element: Core- See Also:
-
LEVEL
public static final int LEVELInteger constant LEVEL provides default X3D Core component level for this element: 2- See Also:
-
NAME_DEFAULT_VALUE
SFString field named name has default value equal to an empty string.- See Also:
-
VALUE_DEFAULT_VALUE
SFString field named value has default value equal to an empty string.- See Also:
-
-
Constructor Details
-
fieldValue
public fieldValue()Constructor for fieldValue to initialize member variables with default values. -
fieldValue
Utility constructor that also assigns fieldValueName- Parameters:
fieldValueName
- unique DEF name for this X3D node
-
fieldValue
-
-
Method Details
-
getElementName
Provides name of this element: fieldValue- Specified by:
getElementName
in classX3DConcreteElement
- Returns:
- name of this element
-
getComponent
Defines X3D component for the fieldValue element: Core- Specified by:
getComponent
in classX3DConcreteElement
- Returns:
- X3D component for this element
-
getComponentLevel
public final int getComponentLevel()Provides default X3D component level for this element: 2- Specified by:
getComponentLevel
in classX3DConcreteElement
- Returns:
- default X3D component level for this element
-
getFieldType
Indicate type corresponding to given fieldName.- Specified by:
getFieldType
in classX3DConcreteElement
- Parameters:
fieldName
- name of field in this X3D statement- Returns:
- X3D type (SFvec3f etc.), otherwise ConfigurationProperties.ERROR_UNKNOWN_FIELD_TYPE if not recognized
- See Also:
-
getAccessType
Indicate accessType corresponding to given fieldName.- Specified by:
getAccessType
in classX3DConcreteElement
- Parameters:
fieldName
- name of field in this X3D statement- Returns:
- X3D accessType (inputOnly etc.), otherwise ConfigurationProperties.ERROR_UNKNOWN_FIELD_ACCESSTYPE if not recognized
- See Also:
-
initialize
public final void initialize()Initialize all member variables to default values.- Overrides:
initialize
in classX3DConcreteStatement
-
getChildren
Provide array of org.web3d.x3d.sai.Core.X3DNode results (using an array consisting of properly typed nodes or ProtoInstances) from inputOutput MFNode field children.
Tooltip: [X3DNode] If this field definition has type SFNode or MFNode, then initialization node (or nodes) of any appropriate type may be provided as children of the field definition.- Warning: do not include a value attribute when providing such child node(s).
- Hint: X3D Architecture, Concepts, 4.4.2 Object model, https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS /Part01/concepts.html#Objectmodel
- Hint: X3D Architecture, Concepts, 4.4.4 Prototype semantics, https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS /Part01/concepts.html#PrototypeSemantics
Warning: according to X3D Unified Object Model (X3DUOM), acceptable node types are limited to X3DNode.- Returns:
- value of children field
- See Also:
-
setChildren
Accessor method to assign org.web3d.x3d.sai.Core.X3DNode array (using an array consisting of properly typed nodes or ProtoInstances) to inputOutput MFNode field children.
Tooltip: [X3DNode] If this field definition has type SFNode or MFNode, then initialization node (or nodes) of any appropriate type may be provided as children of the field definition.- Warning: do not include a value attribute when providing such child node(s).
- Hint: X3D Architecture, Concepts, 4.4.2 Object model, https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS /Part01/concepts.html#Objectmodel
- Hint: X3D Architecture, Concepts, 4.4.4 Prototype semantics, https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS /Part01/concepts.html#PrototypeSemantics
Note: according to X3D Unified Object Model (X3DUOM), acceptable node types are limited to X3DNode.- Parameters:
newValue
- is new value for the children field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
addChildren
Add single node to existing array of children nodes (if any).
Note: according to X3D Unified Object Model (X3DUOM), acceptable node types are limited to X3DNode and ProtoInstance.- Parameters:
newValue
- is new value to be appended the children field.
-
addChildren
Add single ProtoInstance (with appropriate node type and containerField value) to MFNode array for children field.
Note: according to X3D Unified Object Model (X3DUOM), acceptable node types are limited to ShaderPart and ProtoInstance.- Parameters:
newValue
- is new value to be appended the parts field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
addChild
Utility method to add single child element to contained list of existing children nodes (if any).- Parameters:
newValue
- is new node value to be appended the children field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
addChildren
Add array of children nodes to array of existing nodes (if any).
Note: according to X3D Unified Object Model (X3DUOM), acceptable node types are limited to X3DNode.- Parameters:
newValue
- is new value array to be appended the children field.
-
setChildren
Set single children node, replacing prior array of existing nodes (if any).
Note: according to X3D Unified Object Model (X3DUOM), acceptable node types are restricted to X3DNode.- Parameters:
newValue
- is new node for the children field (restricted to X3DNode)
-
clearChildren
Utility method to clear MFNode value of children field. This method does not initialize withCHILDREN_DEFAULT_VALUE.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
-
hasChildren
public boolean hasChildren()Indicate whether an object is available for inputOutput MFNode field children.- Returns:
- whether a properly typed node or ProtoInstance array or CommentsBlock is available.
- See Also:
-
addComments
Add comment as CommentsBlock to children field- Specified by:
addComments
in classX3DConcreteElement
- Parameters:
newComment
- initial value- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
-
addComments
Add comments as String[] array to children field- Specified by:
addComments
in classX3DConcreteElement
- Parameters:
newComments
- array of comments- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
-
addComments
Add CommentsBlock to children field- Specified by:
addComments
in classX3DConcreteElement
- Parameters:
newCommentsBlock
- block of comments to add- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getCssClass
Provide String value from inputOutput SFString field named class.- Overrides:
getCssClass
in classX3DConcreteElement
- Returns:
- value of class field
- See Also:
-
setCssClass
Accessor method to assign String value to inputOutput SFString field named class.- Parameters:
newValue
- is new value for the class field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setCssClass
Assign typed object value to SFString cssClass field, similar tosetCssClass(String)
.- Parameters:
newValue
- is new value for the class field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getHtmlID
Provide String value from inputOutput SFString field named id.- Overrides:
getHtmlID
in classX3DConcreteElement
- Returns:
- value of id field
- See Also:
-
setHtmlID
Accessor method to assign String value to inputOutput SFString field named id.- Parameters:
newValue
- is new value for the id field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setHtmlID
Assign typed object value to SFString HtmlID field, similar tosetHtmlID(String)
.- Parameters:
newValue
- is new value for the id field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getName
Provide String value from inputOutput SFString field named name.
Tooltip: Name of the ProtoInstance field being re-initialized (corresponding to field name already defined in ProtoDeclare or ExternProtoDeclare).- Hint: well-defined names can simplify design and debugging through improved author understanding.
- Hint: X3D Scene Authoring Hints, Naming Conventions https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#NamingConventions
- Returns:
- value of name field
-
setName
Accessor method to assign String value to inputOutput SFString field named name.
Tooltip: Name of the ProtoInstance field being re-initialized (corresponding to field name already defined in ProtoDeclare or ExternProtoDeclare).- Hint: well-defined names can simplify design and debugging through improved author understanding.
- Hint: X3D Scene Authoring Hints, Naming Conventions https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#NamingConventions
@see X3D Scene Authoring Hints: Naming Conventions- Parameters:
newValue
- is new value for the name field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setName
Assign typed object value to SFString name field, similar tosetName(String)
.- Parameters:
newValue
- is new value for the name field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getCssStyle
Provide String value from inputOutput SFString field named style.- Overrides:
getCssStyle
in classX3DConcreteElement
- Returns:
- value of style field
- See Also:
-
setCssStyle
Accessor method to assign String value to inputOutput SFString field named style.- Parameters:
newValue
- is new value for the style field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setCssStyle
Assign typed object value to SFString cssClass field, similar tosetCssStyle(String)
.- Parameters:
newValue
- is new value for the style field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getValue
Provide String value from inputOutput SFString field named value.
Tooltip: Initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Hint: initialize SFNode/MFNode field value using contained content element(s), instead of a simple attribute value.
- Warning: do not include a value attribute when providing child node(s) for type SFNode/MFNode.
- Returns:
- value of value field
-
setValue
Accessor method to assign String value to inputOutput SFString field named value.
Tooltip: Initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Hint: initialize SFNode/MFNode field value using contained content element(s), instead of a simple attribute value.
- Warning: do not include a value attribute when providing child node(s) for type SFNode/MFNode.
- Parameters:
newValue
- is new value for the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append SFBool to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append MFBool to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append SFColor to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append MFColor to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append SFColorRGBA to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append MFColorRGBA to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append SFDouble to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append MFDouble to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append SFFloat to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append MFFloat to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append SFImage to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append MFImage to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append SFInt32 to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append MFInt32 to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append SFMatrix3d to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append MFMatrix3d to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append SFMatrix3f to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append MFMatrix3f to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append SFMatrix4d to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append MFMatrix4d to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append SFMatrix4f to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append MFMatrix4f to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append SFRotation to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append MFRotation to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append SFString to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append MFString to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append SFTime to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append MFTime to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append SFVec2d to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append MFVec2d to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append SFVec2f to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append MFVec2f to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append SFVec3d to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append MFVec3d to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append SFVec3f to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append MFVec3f to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append SFVec4d to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append MFVec4d to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append SFVec4f to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append MFVec4f to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append boolean to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append integer to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append float to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append double to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
appendValue
Append String to fieldValue for value attribute.
Tooltip: fieldValue contains initial value for this field, which overrides default initialization value defined in original ProtoDeclare field.- Parameters:
newValue
- is new value to append to the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setValue
Assign typed object MFString value to fieldValue, similar tosetValue(String)
.- Parameters:
newValue
- is new value for the value field.- Returns:
field
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setValue
Assign typed object String[] array value to fieldValue, similar tosetValue(String)
.- Parameters:
newValue
- is new value for the value field.- Returns:
field
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setValue
Assign typed object SFString value field, similar tosetValue(String)
.- Parameters:
newValue
- is new value for the value field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getIS
Provide IS instance (using a properly typed node) from inputOutput SFNode field IS.- Returns:
- value of IS field
-
setIS
Accessor method to assign IS instance (using a properly typed node) to inputOutput SFNode field IS.- Parameters:
newValue
- is new value for the IS field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
clearIS
Utility method to clear SFNode value of IS field.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
-
hasIS
public boolean hasIS()Indicate whether an object is available for inputOutput SFNode field IS.- Returns:
- whether an IS statement is available.
- See Also:
-
hasChildrenElements
public boolean hasChildrenElements()Indicate whether a node or statement is found in inputOutput MFNode field children.- Returns:
- whether a node or statement is found; ignores CommentsBlock.
- See Also:
-
toStringX3D
Recursive method to provide X3D string serialization of this model subgraph, utilizing XML encoding and conforming to X3D Canonical Form.- Specified by:
toStringX3D
in classX3DConcreteElement
- Parameters:
indentLevel
- number of levels of indentation for this element- Returns:
- X3D string
- See Also:
-
toStringClassicVRML
Recursive method to provide ClassicVRML string serialization.- Specified by:
toStringClassicVRML
in classX3DConcreteElement
- Parameters:
indentLevel
- number of levels of indentation for this element- Returns:
- ClassicVRML string
- See Also:
-
toStringVRML97
Recursive method to provide VRML97 string serialization.- Specified by:
toStringVRML97
in classX3DConcreteElement
- Parameters:
indentLevel
- number of levels of indentation for this element- Returns:
- VRML97 string
- See Also:
-
findElementByNameValue
Recursive method to provide object reference to node or statement by name attribute, if found as part of this element or in a contained element. Elements with name fields include meta, Metadata* nodes, field/fieldValue, ProtoDeclare/ExternProtoDeclare/ProtoInstance, CAD and HAnim nodes.
Warning: first start with findAncestorScene() to check entire scene graph, or findAncestorX3D() to check entire model document.
Warning: more than one element may be found that has the same name, this method does not handle that case.- Specified by:
findElementByNameValue
in classX3DConcreteElement
- Parameters:
nameValue
- is value of the name field being searched for in this element and child elements(if any)- Returns:
- object reference to found element, null otherwise
- See Also:
-
findElementByNameValue
Recursive method to provide object reference to node or statement by name attribute, if found as part of this element or in a contained element. Elements with name fields include meta, Metadata* nodes, field/fieldValue, ProtoDeclare/ExternProtoDeclare/ProtoInstance, CAD and HAnim nodes.
Warning: first start with findAncestorScene() to check entire scene graph, or findAncestorX3D() to check entire model document.
Warning: more than one element may be found that has the same name, this method does not handle that case.- Specified by:
findElementByNameValue
in classX3DConcreteElement
- Parameters:
nameValue
- is value of the name field being searched for in this element and child elements(if any)elementName
- identifies the element of interest (meta MetadataString ProtoDeclare CADassembly ProtoInstance HAnimHumanoid etc.)- Returns:
- object reference to found element, null otherwise
- See Also:
-
hasElementByNameValue
Recursive method to determine whether node or statement with given name attribute is found, meaning both objects are attached to same scene graph.- Parameters:
nameValue
- is value of the name field being searched for in this element and child elements(if any)elementName
- identifies the element of interest (meta MetadataString ProtoDeclare CADassembly ProtoInstance HAnimHumanoid etc.)- Returns:
- whether node is found
- See Also:
-
findNodeByDEF
Recursive method to provide object reference to node by DEF, if found as this node or in a contained node.
Warning: first start with findAncestorScene() to check entire scene graph, or findAncestorX3D() to check entire model document.
Warning: more than one element may be found that has the same DEF, this method does not handle that case.- Specified by:
findNodeByDEF
in classX3DConcreteElement
- Parameters:
DEFvalue
- is value of the name field being searched for in this element and child elements(if any)- Returns:
- object reference to found node, null otherwise
- See Also:
-
hasNodeByDEF
Recursive method to determine whether node with DEFvalue is found, meaning both objects are attached to same scene graph.- Parameters:
DEFvalue
- is value of the name field being searched for in this element and child elements(if any)- Returns:
- whether node is found
- See Also:
-
validate
Recursive method to validate this element plus all contained nodes and statements, using both datatype-specification value checks and regular expression (regex) checking of corresponding string values. TODO document specific validation methods.- Specified by:
validate
in classX3DConcreteElement
- Returns:
- validation results (if any)
-
getType
Discover base type of this fieldValue declaration from corresponding ProtoDeclare/ExternProtoDeclare field declaration. Note that returned value might be empty string if never set in original field object. If found, provides String value ["SFBool" | "MFBool" | "SFColor" | "MFColor" | "SFColorRGBA" | "MFColorRGBA" | "SFDouble" | "MFDouble" | "SFFloat" | "MFFloat" | "SFImage" | "MFImage" | "SFInt32" | "SFNode" | "MFNode" | "MFInt32" | "SFRotation" | "MFRotation" | "SFString" | "MFString" | "SFTime" | "MFTime" | "SFVec2d" | "MFVec2d" | "SFVec2f" | "MFVec2f" | "SFVec3d" | "MFVec3d" | "SFVec3f" | "MFVec3f" | "SFVec4d" | "MFVec4d" | "SFVec4f" | "MFVec4f" | "SFMatrix3d" | "MFMatrix3d" | "SFMatrix3f" | "MFMatrix3f" | "SFMatrix4d" | "MFMatrix4d" | "SFMatrix4f" | "MFMatrix4f"] from inputOutput SFString field named type.- Returns:
- type value from corresponding field declaration, otherwise "fieldValueTypeNotFound"
- See Also:
-
getValueSFBool
If type matches, then get typed value of a SFBool fieldValue declaration.- Returns:
- typed value object (if values are available), otherwise returns default object
-
setValue
Set typed value of a SFBool fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
getValueMFBool
Get typed value of this fieldValue declaration.- Returns:
- typed value object, if values are available
-
setValue
Set typed value of a MFBool fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
getValueSFColor
If type matches, then get typed value of a SFColor fieldValue declaration.- Returns:
- typed value object (if values are available), otherwise returns default object
-
setValue
Set typed value of a SFColor fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
getValueMFColor
Get typed value of this fieldValue declaration.- Returns:
- typed value object, if values are available
-
setValue
Set typed value of a MFColor fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
getValueSFColorRGBA
If type matches, then get typed value of a SFColorRGBA fieldValue declaration.- Returns:
- typed value object (if values are available), otherwise returns default object
-
setValue
Set typed value of a SFColorRGBA fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
getValueMFColorRGBA
Get typed value of this fieldValue declaration.- Returns:
- typed value object, if values are available
-
setValue
Set typed value of a MFColorRGBA fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
getValueSFDouble
If type matches, then get typed value of a SFDouble fieldValue declaration.- Returns:
- typed value object (if values are available), otherwise returns default object
-
setValue
Set typed value of a SFDouble fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
getValueMFDouble
Get typed value of this fieldValue declaration.- Returns:
- typed value object, if values are available
-
setValue
Set typed value of a MFDouble fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
getValueSFFloat
If type matches, then get typed value of a SFFloat fieldValue declaration.- Returns:
- typed value object (if values are available), otherwise returns default object
-
setValue
Set typed value of a SFFloat fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
getValueMFFloat
Get typed value of this fieldValue declaration.- Returns:
- typed value object, if values are available
-
setValue
Set typed value of a MFFloat fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
getValueSFImage
If type matches, then get typed value of a SFImage fieldValue declaration.- Returns:
- typed value object (if values are available), otherwise returns default object
-
setValue
Set typed value of a SFImage fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
getValueMFImage
Get typed value of this fieldValue declaration.- Returns:
- typed value object, if values are available
-
setValue
Set typed value of a MFImage fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
getValueSFInt32
If type matches, then get typed value of a SFInt32 fieldValue declaration.- Returns:
- typed value object (if values are available), otherwise returns default object
-
setValue
Set typed value of a SFInt32 fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
getValueMFInt32
Get typed value of this fieldValue declaration.- Returns:
- typed value object, if values are available
-
setValue
Set typed value of a MFInt32 fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
getValueSFMatrix3d
If type matches, then get typed value of a SFMatrix3d fieldValue declaration.- Returns:
- typed value object (if values are available), otherwise returns default object
-
setValue
Set typed value of a SFMatrix3d fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
getValueMFMatrix3d
Get typed value of this fieldValue declaration.- Returns:
- typed value object, if values are available
-
setValue
Set typed value of a MFMatrix3d fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
getValueSFMatrix3f
If type matches, then get typed value of a SFMatrix3f fieldValue declaration.- Returns:
- typed value object (if values are available), otherwise returns default object
-
setValue
Set typed value of a SFMatrix3f fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
getValueMFMatrix3f
Get typed value of this fieldValue declaration.- Returns:
- typed value object, if values are available
-
setValue
Set typed value of a MFMatrix3f fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
getValueSFMatrix4d
If type matches, then get typed value of a SFMatrix4d fieldValue declaration.- Returns:
- typed value object (if values are available), otherwise returns default object
-
setValue
Set typed value of a SFMatrix4d fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
getValueMFMatrix4d
Get typed value of this fieldValue declaration.- Returns:
- typed value object, if values are available
-
setValue
Set typed value of a MFMatrix4d fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
getValueSFMatrix4f
If type matches, then get typed value of a SFMatrix4f fieldValue declaration.- Returns:
- typed value object (if values are available), otherwise returns default object
-
setValue
Set typed value of a SFMatrix4f fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
getValueMFMatrix4f
Get typed value of this fieldValue declaration.- Returns:
- typed value object, if values are available
-
setValue
Set typed value of a MFMatrix4f fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
getValueSFRotation
If type matches, then get typed value of a SFRotation fieldValue declaration.- Returns:
- typed value object (if values are available), otherwise returns default object
-
setValue
Set typed value of a SFRotation fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
getValueMFRotation
Get typed value of this fieldValue declaration.- Returns:
- typed value object, if values are available
-
setValue
Set typed value of a MFRotation fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
getValueSFString
If type matches, then get typed value of a SFString fieldValue declaration.- Returns:
- typed value object (if values are available), otherwise returns default object
-
getValueMFString
Get typed value of this fieldValue declaration.- Returns:
- typed value object, if values are available
-
getValueSFTime
If type matches, then get typed value of a SFTime fieldValue declaration.- Returns:
- typed value object (if values are available), otherwise returns default object
-
setValue
Set typed value of a SFTime fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
getValueMFTime
Get typed value of this fieldValue declaration.- Returns:
- typed value object, if values are available
-
setValue
Set typed value of a MFTime fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
getValueSFVec2d
If type matches, then get typed value of a SFVec2d fieldValue declaration.- Returns:
- typed value object (if values are available), otherwise returns default object
-
setValue
Set typed value of a SFVec2d fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
getValueMFVec2d
Get typed value of this fieldValue declaration.- Returns:
- typed value object, if values are available
-
setValue
Set typed value of a MFVec2d fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
getValueSFVec2f
If type matches, then get typed value of a SFVec2f fieldValue declaration.- Returns:
- typed value object (if values are available), otherwise returns default object
-
setValue
Set typed value of a SFVec2f fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
getValueMFVec2f
Get typed value of this fieldValue declaration.- Returns:
- typed value object, if values are available
-
setValue
Set typed value of a MFVec2f fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
getValueSFVec3d
If type matches, then get typed value of a SFVec3d fieldValue declaration.- Returns:
- typed value object (if values are available), otherwise returns default object
-
setValue
Set typed value of a SFVec3d fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
getValueMFVec3d
Get typed value of this fieldValue declaration.- Returns:
- typed value object, if values are available
-
setValue
Set typed value of a MFVec3d fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
getValueSFVec3f
If type matches, then get typed value of a SFVec3f fieldValue declaration.- Returns:
- typed value object (if values are available), otherwise returns default object
-
setValue
Set typed value of a SFVec3f fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
getValueMFVec3f
Get typed value of this fieldValue declaration.- Returns:
- typed value object, if values are available
-
setValue
Set typed value of a MFVec3f fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
getValueSFVec4d
If type matches, then get typed value of a SFVec4d fieldValue declaration.- Returns:
- typed value object (if values are available), otherwise returns default object
-
setValue
Set typed value of a SFVec4d fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
getValueMFVec4d
Get typed value of this fieldValue declaration.- Returns:
- typed value object, if values are available
-
setValue
Set typed value of a MFVec4d fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
getValueSFVec4f
If type matches, then get typed value of a SFVec4f fieldValue declaration.- Returns:
- typed value object (if values are available), otherwise returns default object
-
setValue
Set typed value of a SFVec4f fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
getValueMFVec4f
Get typed value of this fieldValue declaration.- Returns:
- typed value object, if values are available
-
setValue
Set typed value of a MFVec4f fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
clearValues
Clear all values in a fieldValue declaration.- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
setValue
Set typed value of a boolean fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
setValue
Set typed value of a boolean[] fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
setValue
Set typed value of a integer fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
setValue
Set typed value of a integer array fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
setValue
Set typed value of a float fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
setValue
Set typed value of a float[] array fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
setValue
Set typed value of a double fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-
setValue
Set typed value of a double[] array fieldValue declaration. WARNING: must first setType() in ancestor field declaration to ensure validity of the proper corresponding X3D type.- Parameters:
newValue
- is new value to assign- Returns:
fieldValue
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
-