Class meta


public class meta extends X3DConcreteStatement
Functional summary: the meta statement provides metadata information about a scene, where name and content attributes provide attribute=value metadata pairs. This concrete class represents an X3D meta statement.

X3D statement tooltip: [X3D statement] The meta statement provides metadata information about the X3D model, following the same naming conventions as HTML's meta tag. The name and content attributes together define key=value metadata pairs. Hint: X3D XML Encoding <a href="https://www.web3d.org/documents/specifications/19776-1/V3.3/Part01/concepts.html#Header" target="_blank">https://www.web3d.org/documents/specifications/19776-1/V3.3/Part01/concepts.html#Header</a> Hint: X3D Scene Authoring Hints, meta Statements <a href="https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#metaStatements" target="_blank">https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#metaStatements</a> Hint: W3C HTML5 Recommendation, 4.2.5 The meta element <a href="https://www.w3.org/TR/html5/document-metadata.html#the-meta-element" target="_blank">https://www.w3.org/TR/html5/document-metadata.html#the-meta-element</a> Warning: the META statement is capitalized in the X3D Architecture specification and in the X3D ClassicVRML Encoding. Hint: X3D Architecture 7.2.5.6 META statement <a href="https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-IS.proof//Part01/components/core.html#METAStatement" target="_blank">https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-IS.proof//Part01/components/core.html#METAStatement</a> *

Metadata terms for consistent referencing: Metadata terms for language codes:
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • getElementName

      public final String getElementName()
      Provides name of this element: meta
      Specified by:
      getElementName in class X3DConcreteElement
      Returns:
      name of this element
    • getComponent

      public final String getComponent()
      Defines X3D component for the meta element: Core
      Specified by:
      getComponent in class X3DConcreteElement
      Returns:
      X3D component for this element
    • getComponentLevel

      public final int getComponentLevel()
      Provides default X3D component level for this element: 1
      Specified by:
      getComponentLevel in class X3DConcreteElement
      Returns:
      default X3D component level for this element
    • getFieldType

      public String getFieldType(String fieldName)
      Indicate type corresponding to given fieldName.
      Specified by:
      getFieldType in class X3DConcreteElement
      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

      public String getAccessType(String fieldName)
      Indicate accessType corresponding to given fieldName.
      Specified by:
      getAccessType in class X3DConcreteElement
      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 class X3DConcreteStatement
    • getCssClass

      public String getCssClass()
      Provide String value from inputOutput SFString field named class.
      Overrides:
      getCssClass in class X3DConcreteElement
      Returns:
      value of class field
      See Also:
    • setCssClass

      public final meta setCssClass(String newValue)
      Accessor method to assign String value to inputOutput SFString field named class.
      Parameters:
      newValue - is new value for the class field.
      Returns:
      meta - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      See Also:
    • setCssClass

      public meta setCssClass(SFString newValue)
      Assign typed object value to SFString cssClass field, similar to setCssClass(String). // #0.e
      Parameters:
      newValue - is new value for the class field.
      Returns:
      meta - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getContent

      public String getContent()
      Provide String value from inputOutput SFString field named content.

      Tooltip: The content attribute provides metadata information relevant to the name attribute provided. The name and content attributes together define key=value metadata pairs. Hint: for broadest searchability, use Dublin Core Metadata Initiative (DCMI) terms for name values. <a href="https://www.dublincore.org/documents/dcmi-terms" target="_blank">https://www.dublincore.org/documents/dcmi-terms</a> Warning: Dublin Core Metadata Initiative (DCMI) requires name to be a token appendable to a URI, so normal expectation for a typical name is type NMTOKEN with no whitespace. Hint: alternatively the content attribute can support the http-equiv attribute. Hint: many XML tools substitute XML character references for special characters automatically if needed within an attribute value (such as &#38; for & ampersand character, or &#34; for " quotation-mark character). *
      Returns:
      value of content field
    • setContent

      public final meta setContent(String newValue)
      Accessor method to assign String value to inputOutput SFString field named content.

      Tooltip: The content attribute provides metadata information relevant to the name attribute provided. The name and content attributes together define key=value metadata pairs. Hint: for broadest searchability, use Dublin Core Metadata Initiative (DCMI) terms for name values. <a href="https://www.dublincore.org/documents/dcmi-terms" target="_blank">https://www.dublincore.org/documents/dcmi-terms</a> Warning: Dublin Core Metadata Initiative (DCMI) requires name to be a token appendable to a URI, so normal expectation for a typical name is type NMTOKEN with no whitespace. Hint: alternatively the content attribute can support the http-equiv attribute. Hint: many XML tools substitute XML character references for special characters automatically if needed within an attribute value (such as &#38; for & ampersand character, or &#34; for " quotation-mark character). *
      Parameters:
      newValue - is new value for the content field.
      Returns:
      meta - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      See Also:
    • setContent

      public meta setContent(SFString newValue)
      Assign typed object value to SFString content field, similar to setContent(String). // #0.e
      Parameters:
      newValue - is new value for the content field.
      Returns:
      meta - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getDir

      public String getDir()
      Provide String enumeration value (baseType xs:NMTOKEN) ["rtl" | "ltr"] from inputOutput SFString field named dir.

      Tooltip: Direction for weak/neutral text (ltr=left-to-right, rtl=right-to-left). See <a href="http://www.w3.org/TR/html4/struct/dirlang.html#adef-dir" target="_blank">http://www.w3.org/TR/html4/struct/dirlang.html#adef-dir</a> *


      Available enumeration values for string comparison: RTL, LTR.
      Returns:
      value of dir field
    • setDir

      public meta setDir(String newValue)
      Accessor method to assign String enumeration value ("rtl" | "ltr") to inputOutput SFString field named dir.

      Warning: authors can only choose from a strict list of enumeration values (RTL, LTR).

      Tooltip: Direction for weak/neutral text (ltr=left-to-right, rtl=right-to-left). See <a href="http://www.w3.org/TR/html4/struct/dirlang.html#adef-dir" target="_blank">http://www.w3.org/TR/html4/struct/dirlang.html#adef-dir</a> *
      Parameters:
      newValue - is new value for the dir field.
      Returns:
      meta - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      See Also:
    • setDir

      public meta setDir(SFString newValue)
      Assign typed object value to SFString dir field, similar to setDir(String). // #0.e
      Parameters:
      newValue - is new value for the dir field.
      Returns:
      meta - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getHttp_equiv

      public String getHttp_equiv()
      Provide String value from inputOutput SFString field named http-equiv.

      Tooltip: The http-equiv attribute provides an HTTP header for the value of the content attribute. Example: &lt;meta http-equiv='Expires' content='Tue, 20 Aug 1996 14:25:27 GMT'&gt;. Hint: the http-equiv attribute can be used to simulate an HTTP response header. Warning: if the name attribute is set, the http-equiv attribute should not be set. Hint: see <a href="http://www.w3.org/TR/html4/struct/global.html#adef-http-equiv" target="_blank">http://www.w3.org/TR/html4/struct/global.html#adef-http-equiv</a> *
      Returns:
      value of http-equiv field
    • setHttp_equiv

      public meta setHttp_equiv(String newValue)
      Accessor method to assign String value to inputOutput SFString field named http-equiv.

      Tooltip: The http-equiv attribute provides an HTTP header for the value of the content attribute. Example: &lt;meta http-equiv='Expires' content='Tue, 20 Aug 1996 14:25:27 GMT'&gt;. Hint: the http-equiv attribute can be used to simulate an HTTP response header. Warning: if the name attribute is set, the http-equiv attribute should not be set. Hint: see <a href="http://www.w3.org/TR/html4/struct/global.html#adef-http-equiv" target="_blank">http://www.w3.org/TR/html4/struct/global.html#adef-http-equiv</a> *
      Parameters:
      newValue - is new value for the http-equiv field.
      Returns:
      meta - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      See Also:
    • setHttp_equiv

      public meta setHttp_equiv(SFString newValue)
      Assign typed object value to SFString http_equiv field, similar to setHttp_equiv(String). // #0.e
      Parameters:
      newValue - is new value for the http-equiv field.
      Returns:
      meta - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getHtmlID

      public String getHtmlID()
      Provide String value from inputOutput SFString field named id.
      Overrides:
      getHtmlID in class X3DConcreteElement
      Returns:
      value of id field
      See Also:
    • setHtmlID

      public final meta setHtmlID(String newValue)
      Accessor method to assign String value to inputOutput SFString field named id.
      Parameters:
      newValue - is new value for the id field.
      Returns:
      meta - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      See Also:
    • setHtmlID

      public meta setHtmlID(SFString newValue)
      Assign typed object value to SFString HtmlID field, similar to setHtmlID(String). // #0.e
      Parameters:
      newValue - is new value for the id field.
      Returns:
      meta - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getLang

      public String getLang()
      Provide String value from inputOutput SFString field named lang.

      Tooltip: Language code, as per [IETF BCP47/RFC5646]. <a href="https://www.rfc-editor.org/rfc/bcp/bcp47.txt" target="_blank">https://www.rfc-editor.org/rfc/bcp/bcp47.txt</a> and described in <a href="https://www.w3.org/International/questions/qa-http-and-lang" target="_blank">https://www.w3.org/International/questions/qa-http-and-lang</a> Hint: Language Subtag Lookup at <a href="http://people.w3.org/rishida/utils/subelements" target="_blank">http://people.w3.org/rishida/utils/subelements</a> *
      Returns:
      value of lang field
    • setLang

      public meta setLang(String newValue)
      Accessor method to assign String value to inputOutput SFString field named lang.

      Tooltip: Language code, as per [IETF BCP47/RFC5646]. <a href="https://www.rfc-editor.org/rfc/bcp/bcp47.txt" target="_blank">https://www.rfc-editor.org/rfc/bcp/bcp47.txt</a> and described in <a href="https://www.w3.org/International/questions/qa-http-and-lang" target="_blank">https://www.w3.org/International/questions/qa-http-and-lang</a> Hint: Language Subtag Lookup at <a href="http://people.w3.org/rishida/utils/subelements" target="_blank">http://people.w3.org/rishida/utils/subelements</a> *
      Parameters:
      newValue - is new value for the lang field.
      Returns:
      meta - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      See Also:
    • setLang

      public meta setLang(SFString newValue)
      Assign typed object value to SFString lang field, similar to setLang(String). // #0.e
      Parameters:
      newValue - is new value for the lang field.
      Returns:
      meta - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getName

      public String getName()
      Provide String enumeration value (baseType xs:NMTOKEN) ["accessRights" | "author" | "CML-version" | "contributor" | "created" | "creator" | "description" | "disclaimer" | "drawing" | "error" | "generator" | "hint" | "identifier" | "Image" | "info" | "information" | "isVersionOf" | "keywords" | "license" | "mediator" | "modified" | "movie" | "MovingImage" | "original" | "photo" | "photograph" | "publisher" | "reference" | "requires" | "rights" | "robots" | "Sound" | "source" | "specificationSection" | "specificationUrl" | "subject" | "Text" | "title" | "TODO" | "translator" | "translated" | "version" | "warning" | 'etc.'] from inputOutput SFString field named name.

      Tooltip: Keyword name of the meta attribute, following the same naming conventions as HTML's meta tag. Hint: for broadest searchability, use Dublin Core Metadata Initiative (DCMI) terms for name values. <a href="https://www.dublincore.org/documents/dcmi-terms" target="_blank">https://www.dublincore.org/documents/dcmi-terms</a> Warning: Dublin Core Metadata Initiative (DCMI) requires name to be a token appendable to a URI, so normal expectation for a typical name is type NMTOKEN with no whitespace. Warning: if the name attribute is set, the http-equiv attribute should not be set. Hint: well-defined names can simplify design and debugging through improved author understanding. Hint: X3D Scene Authoring Hints, Naming Conventions <a href="https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#NamingConventions" target="_blank">https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#NamingConventions</a> Hint: HTML5 section 4.2.5.1. Standard metadata names <a href="https://www.w3.org/TR/html5/document-metadata.html#standard-metadata-names" target="_blank">https://www.w3.org/TR/html5/document-metadata.html#standard-metadata-names</a> Hint: HTML5 section 4.2.5.2. Other metadata names <a href="https://www.w3.org/TR/html5/document-metadata.html#other-metadata-names" target="_blank">https://www.w3.org/TR/html5/document-metadata.html#other-metadata-names</a> Hint: WHATWG Wiki MetaExtensions <a href="https://wiki.whatwg.org/wiki/MetaExtensions" target="_blank">https://wiki.whatwg.org/wiki/MetaExtensions</a> Warning: names are permitted to contain whitespace characters but might be inconsistent. A name value containing whitespace might not validate or match other corresponding values. *


      Available enumeration values for string comparison: ACCESSRIGHTS, AUTHOR, CML_VERSION, CONTRIBUTOR, CREATED, CREATOR, DESCRIPTION, DISCLAIMER, DRAWING, ERROR, GENERATOR, HINT, IDENTIFIER, IMAGE, INFO, INFORMATION, ISVERSIONOF, KEYWORDS, LICENSE, MEDIATOR, MODIFIED, MOVIE, MOVINGIMAGE, ORIGINAL, PHOTO, PHOTOGRAPH, PUBLISHER, REFERENCE, REQUIRES, RIGHTS, ROBOTS, SOUND, SOURCE, SPECIFICATIONSECTION, SPECIFICATIONURL, SUBJECT, TEXT, TITLE, TODO, TRANSLATOR, TRANSLATED, VERSION, WARNING.
      Returns:
      value of name field
    • setName

      public final meta setName(String newValue)
      Accessor method to assign String enumeration value ("accessRights" | "author" | "CML-version" | "contributor" | "created" | "creator" | "description" | "disclaimer" | "drawing" | "error" | "generator" | "hint" | "identifier" | "Image" | "info" | "information" | "isVersionOf" | "keywords" | "license" | "mediator" | "modified" | "movie" | "MovingImage" | "original" | "photo" | "photograph" | "publisher" | "reference" | "requires" | "rights" | "robots" | "Sound" | "source" | "specificationSection" | "specificationUrl" | "subject" | "Text" | "title" | "TODO" | "translator" | "translated" | "version" | "warning") to inputOutput SFString field named name.

      Hint: authors have option to choose from an extendible list of predefined enumeration values (ACCESSRIGHTS, AUTHOR, CML_VERSION, CONTRIBUTOR, CREATED, CREATOR, DESCRIPTION, DISCLAIMER, DRAWING, ERROR, GENERATOR, HINT, IDENTIFIER, IMAGE, INFO, INFORMATION, ISVERSIONOF, KEYWORDS, LICENSE, MEDIATOR, MODIFIED, MOVIE, MOVINGIMAGE, ORIGINAL, PHOTO, PHOTOGRAPH, PUBLISHER, REFERENCE, REQUIRES, RIGHTS, ROBOTS, SOUND, SOURCE, SPECIFICATIONSECTION, SPECIFICATIONURL, SUBJECT, TEXT, TITLE, TODO, TRANSLATOR, TRANSLATED, VERSION, WARNING).

      Tooltip: Keyword name of the meta attribute, following the same naming conventions as HTML's meta tag. Hint: for broadest searchability, use Dublin Core Metadata Initiative (DCMI) terms for name values. <a href="https://www.dublincore.org/documents/dcmi-terms" target="_blank">https://www.dublincore.org/documents/dcmi-terms</a> Warning: Dublin Core Metadata Initiative (DCMI) requires name to be a token appendable to a URI, so normal expectation for a typical name is type NMTOKEN with no whitespace. Warning: if the name attribute is set, the http-equiv attribute should not be set. Hint: well-defined names can simplify design and debugging through improved author understanding. Hint: X3D Scene Authoring Hints, Naming Conventions <a href="https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#NamingConventions" target="_blank">https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#NamingConventions</a> Hint: HTML5 section 4.2.5.1. Standard metadata names <a href="https://www.w3.org/TR/html5/document-metadata.html#standard-metadata-names" target="_blank">https://www.w3.org/TR/html5/document-metadata.html#standard-metadata-names</a> Hint: HTML5 section 4.2.5.2. Other metadata names <a href="https://www.w3.org/TR/html5/document-metadata.html#other-metadata-names" target="_blank">https://www.w3.org/TR/html5/document-metadata.html#other-metadata-names</a> Hint: WHATWG Wiki MetaExtensions <a href="https://wiki.whatwg.org/wiki/MetaExtensions" target="_blank">https://wiki.whatwg.org/wiki/MetaExtensions</a> Warning: names are permitted to contain whitespace characters but might be inconsistent. A name value containing whitespace might not validate or match other corresponding values. *


      @see X3D Scene Authoring Hints: Naming Conventions
      Parameters:
      newValue - is new value for the name field.
      Returns:
      meta - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      See Also:
    • setName

      public meta setName(SFString newValue)
      Assign typed object value to SFString name field, similar to setName(String). // #0.e
      Parameters:
      newValue - is new value for the name field.
      Returns:
      meta - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getScheme

      public String getScheme()
      Provide String value from inputOutput SFString field named scheme.

      Tooltip: The scheme attribute allows authors to provide user agents more context for the correct interpretation of meta information. For example, &lt;meta scheme="ISBN" name="identifier" content="0-8230-2355-9"&gt; See <a href="http://www.w3.org/TR/html4/struct/global.html#idx-scheme" target="_blank">http://www.w3.org/TR/html4/struct/global.html#idx-scheme</a> *
      Returns:
      value of scheme field
    • setScheme

      public meta setScheme(String newValue)
      Accessor method to assign String value to inputOutput SFString field named scheme.

      Tooltip: The scheme attribute allows authors to provide user agents more context for the correct interpretation of meta information. For example, &lt;meta scheme="ISBN" name="identifier" content="0-8230-2355-9"&gt; See <a href="http://www.w3.org/TR/html4/struct/global.html#idx-scheme" target="_blank">http://www.w3.org/TR/html4/struct/global.html#idx-scheme</a> *
      Parameters:
      newValue - is new value for the scheme field.
      Returns:
      meta - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      See Also:
    • setScheme

      public meta setScheme(SFString newValue)
      Assign typed object value to SFString scheme field, similar to setScheme(String). // #0.e
      Parameters:
      newValue - is new value for the scheme field.
      Returns:
      meta - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getCssStyle

      public String getCssStyle()
      Provide String value from inputOutput SFString field named style.
      Overrides:
      getCssStyle in class X3DConcreteElement
      Returns:
      value of style field
      See Also:
    • setCssStyle

      public final meta setCssStyle(String newValue)
      Accessor method to assign String value to inputOutput SFString field named style.
      Parameters:
      newValue - is new value for the style field.
      Returns:
      meta - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      See Also:
    • setCssStyle

      public meta setCssStyle(SFString newValue)
      Assign typed object value to SFString cssClass field, similar to setCssStyle(String). // #0.e
      Parameters:
      newValue - is new value for the style field.
      Returns:
      meta - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • addComments

      public meta addComments(String newComment)
      Add comment as String to contained commentsList.
      Specified by:
      addComments in class X3DConcreteElement
      Parameters:
      newComment - initial value
      Returns:
      meta - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      See Also:
    • addComments

      public meta addComments(String[] newComments)
      Add comments as String[] array to contained commentsList.
      Specified by:
      addComments in class X3DConcreteElement
      Parameters:
      newComments - array of comments
      Returns:
      meta - namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
    • addComments

      public meta addComments(CommentsBlock newCommentsBlock)
      Add CommentsBlock to contained commentsList.
      Specified by:
      addComments in class X3DConcreteElement
      Parameters:
      newCommentsBlock - block of comments to add
      Returns:
      meta - namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
    • toStringX3D

      public String toStringX3D(int indentLevel)
      Recursive method to provide X3D string serialization of this model subgraph, utilizing XML encoding and conforming to X3D Canonical Form.
      Specified by:
      toStringX3D in class X3DConcreteElement
      Parameters:
      indentLevel - number of levels of indentation for this element
      Returns:
      X3D string
      See Also:
    • toStringClassicVRML

      public String toStringClassicVRML(int indentLevel)
      Recursive method to provide ClassicVRML string serialization.
      Specified by:
      toStringClassicVRML in class X3DConcreteElement
      Parameters:
      indentLevel - number of levels of indentation for this element
      Returns:
      ClassicVRML string
      See Also:
    • toStringVRML97

      public String toStringVRML97(int indentLevel)
      Recursive method to provide VRML97 string serialization.
      Specified by:
      toStringVRML97 in class X3DConcreteElement
      Parameters:
      indentLevel - number of levels of indentation for this element
      Returns:
      VRML97 string
      See Also:
    • findElementByNameValue

      public X3DConcreteElement 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. 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 class X3DConcreteElement
      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

      public X3DConcreteElement 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. 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 class X3DConcreteElement
      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

      public 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.
      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

      public X3DConcreteNode findNodeByDEF(String DEFvalue)
      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 class X3DConcreteElement
      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

      public boolean hasNodeByDEF(String DEFvalue)
      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

      public String 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.
      Specified by:
      validate in class X3DConcreteElement
      Returns:
      validation results (if any)