Package org.web3d.x3d.jsail.Core
Class metaObject
java.lang.Object
org.web3d.x3d.jsail.X3DConcreteElement
org.web3d.x3d.jsail.X3DConcreteStatement
org.web3d.x3d.jsail.Core.metaObject
public class metaObject 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.
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 https://www.web3d.org/documents/specifications/19776-1/V3.3/Part01/concepts.html#Header
- Hint: X3D Scene Authoring Hints, meta Statements https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#metaStatements
- Hint: W3C HTML5 Recommendation, 4.2.5 The meta element https://www.w3.org/TR/html5/document-metadata.html#the-meta-element
- 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 https://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/core.html#METAStatement
- Dublin Core Metadata Initiative (DCMI): Terms and Element Set
- HTML5 section 4.2.5: The meta element
- HTML4 section 7.4.4: Meta data
- Dictionary of HTML META Tags (About)
- IETF Best Current Practice (BCP) 47: Tags for Identifying Languages
- ISO 639-2: Codes for the Representation of Names of Languages
- Internet Assigned Numbers Authority (IANA) Protocol Registries: Language Tags
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
COMPONENT
String constant COMPONENT defines X3D component for the meta element: Corestatic java.lang.String
CONTENT_DEFAULT_VALUE
SFString field named content has default value equal to an empty string.static java.lang.String
DIR_DEFAULT_VALUE
SFString field named dir has default value equal to an empty string.static java.lang.String
DIR_LTR
Tooltip: left-to-right.static java.lang.String
DIR_RTL
Tooltip: right-to-left.static java.lang.String
HTTP_EQUIV_DEFAULT_VALUE
SFString field named http_equiv has default value equal to an empty string.static java.lang.String
LANG_DEFAULT_VALUE
SFString field named lang has default value equal to an empty string.static int
LEVEL
Integer constant LEVEL provides default X3D Core component level for this element: 1static java.lang.String
NAME
String constant NAME provides name of this element: meta.static java.lang.String
NAME_ACCESSRIGHTS
Tooltip: permission required to access resource or security status.static java.lang.String
NAME_AUTHOR
Tooltip: name of individual author.static java.lang.String
NAME_CONTRIBUTOR
Tooltip: name of individual contributing to this resource.static java.lang.String
NAME_CREATED
Tooltip: date of initial version.static java.lang.String
NAME_CREATOR
Tooltip: name of original author.static java.lang.String
NAME_DEFAULT_VALUE
SFString field named name has default value equal to an empty string.static java.lang.String
NAME_DESCRIPTION
Tooltip: summary overview describing this resource.static java.lang.String
NAME_DISCLAIMER
Tooltip: statement of denial or disavowal regarding potential claims or responsiblity.static java.lang.String
NAME_DRAWING
Tooltip: name or reference link to a supporting drawing or sketch file.static java.lang.String
NAME_ERROR
Tooltip: information about an error (or known problem) that can prevent proper operation.static java.lang.String
NAME_GENERATOR
Tooltip: authoring tool or translation tool.static java.lang.String
NAME_HINT
Tooltip: user hint about resource features or operation.static java.lang.String
NAME_IDENTIFIER
Tooltip: url address or unique Uniform Resource Identifier (URI) for resource.static java.lang.String
NAME_IMAGE
Tooltip: name or reference link to supporting image file.static java.lang.String
NAME_INFO
Tooltip: additional info of interest.static java.lang.String
NAME_INFORMATION
Tooltip: additional information of interest.static java.lang.String
NAME_ISVERSIONOF
Tooltip: Related resource of which the described resource is a version, edition, or adaptation.static java.lang.String
NAME_KEYWORDS
Tooltip: comma-separated tokens, each of which is a keyword of interest.static java.lang.String
NAME_LICENSE
Tooltip: content or software license.static java.lang.String
NAME_MEDIATOR
Tooltip: entity that mediates access to resource and for whom resource is intended or useful.static java.lang.String
NAME_MODIFIED
Tooltip: date of modified version.static java.lang.String
NAME_MOVIE
Tooltip: name or reference link to supporting movie file (note that Dublin Core term is MovingImage).static java.lang.String
NAME_MOVINGIMAGE
Tooltip: name or reference link to supporting movie.static java.lang.String
NAME_ORIGINAL
Tooltip: name or reference link to original file or resource.static java.lang.String
NAME_PHOTO
Tooltip: name or reference link to supporting photo file (note that Dublin Core term is Image).static java.lang.String
NAME_PHOTOGRAPH
Tooltip: name or reference link to supporting photograph file (note that Dublin Core term is Image).static java.lang.String
NAME_PUBLISHER
Tooltip: entity responsible for making the resource available.static java.lang.String
NAME_REFERENCE
Tooltip: name or reference link to supporting reference.static java.lang.String
NAME_REQUIRES
Tooltip: prerequisites for operation or viewing.static java.lang.String
NAME_RIGHTS
Tooltip: intellectual property rights (IPR).static java.lang.String
NAME_ROBOTS
Tooltip: search engine and web-spider guidance value: noindex to block page indexing, nofollow to block following links.static java.lang.String
NAME_SOUND
Tooltip: name or reference link to supporting sound file.static java.lang.String
NAME_SOURCE
Tooltip: related resource from which the described resource is derived.static java.lang.String
NAME_SPECIFICATIONSECTION
Tooltip: title of relevant specification section.static java.lang.String
NAME_SPECIFICATIONURL
Tooltip: url for relevant specification section.static java.lang.String
NAME_SUBJECT
Tooltip: search-index subject keywords, key phrases, or classification codes.static java.lang.String
NAME_TEXT
Tooltip: resource consisting primarily of words for reading.static java.lang.String
NAME_TITLE
Tooltip: file name for this resource.static java.lang.String
NAME_TODO
Tooltip: action item "to do" that still needs to be performed.static java.lang.String
NAME_TRANSLATED
Tooltip: date of translation from another format or language.static java.lang.String
NAME_TRANSLATOR
Tooltip: name of person performing translation from another format or language.static java.lang.String
NAME_VERSION
Tooltip: current version number or ID of this resource.static java.lang.String
NAME_WARNING
Tooltip: warning information about a known problem that impedes proper operation.static java.lang.String
SCHEME_DEFAULT_VALUE
SFString field named scheme has default value equal to an empty string. -
Constructor Summary
Constructors Constructor Description metaObject()
Constructor for metaObject to initialize member variables with default values.metaObject(java.lang.String newName, java.lang.String newContent)
Utility constructor that assigns name-value pair for name and content attributes. -
Method Summary
Modifier and Type Method Description metaObject
addComments(java.lang.String newComment)
Add comment as String to contained commentsList.metaObject
addComments(java.lang.String[] newComments)
Add comments as String[] array to contained commentsList.metaObject
addComments(CommentsBlock newCommentsBlock)
Add CommentsBlock to contained commentsList.X3DConcreteElement
findElementByNameValue(java.lang.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.X3DConcreteElement
findElementByNameValue(java.lang.String nameValue, java.lang.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.X3DConcreteNode
findNodeByDEF(java.lang.String DEFvalue)
Recursive method to provide object reference to node by DEF, if found as this node or in a contained node.java.lang.String
getAccessType(java.lang.String fieldName)
Indicate accessType corresponding to given fieldName.java.lang.String
getComponent()
Defines X3D component for the meta element: Coreint
getComponentLevel()
Provides default X3D component level for this element: 1java.lang.String
getContent()
Provide String value from inputOutput SFString field named content.java.lang.String
getDir()
Provide String enumeration value (baseType xs:NMTOKEN) ["rtl" | "ltr"] from inputOutput SFString field named dir.java.lang.String
getElementName()
Provides name of this element: metajava.lang.String
getFieldType(java.lang.String fieldName)
Indicate type corresponding to given fieldName.java.lang.String
getHttp_equiv()
Provide String value from inputOutput SFString field named http-equiv.java.lang.String
getLang()
Provide String value from inputOutput SFString field named lang.java.lang.String
getName()
Provide String enumeration value (baseType xs:NMTOKEN) ["accessRights" | "author" | "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.java.lang.String
getScheme()
Provide String value from inputOutput SFString field named scheme.boolean
hasElementByNameValue(java.lang.String nameValue, java.lang.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
hasNodeByDEF(java.lang.String DEFvalue)
Recursive method to determine whether node with DEFvalue is found, meaning both objects are attached to same scene graph.void
initialize()
Initialize all member variables to default values.metaObject
setContent(java.lang.String newValue)
Accessor method to assign String value to inputOutput SFString field named content.metaObject
setContent(SFStringObject newValue)
Assign typed object value to SFString content field, similar tosetContent(String)
.metaObject
setDir(java.lang.String newValue)
Accessor method to assign String enumeration value ("rtl" | "ltr") to inputOutput SFString field named dir.metaObject
setDir(SFStringObject newValue)
Assign typed object value to SFString dir field, similar tosetDir(String)
.metaObject
setHttp_equiv(java.lang.String newValue)
Accessor method to assign String value to inputOutput SFString field named http-equiv.metaObject
setHttp_equiv(SFStringObject newValue)
Assign typed object value to SFString http_equiv field, similar tosetHttp_equiv(String)
.metaObject
setLang(java.lang.String newValue)
Accessor method to assign String value to inputOutput SFString field named lang.metaObject
setLang(SFStringObject newValue)
Assign typed object value to SFString lang field, similar tosetLang(String)
.metaObject
setName(java.lang.String newValue)
Accessor method to assign String enumeration value ("accessRights" | "author" | "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.metaObject
setName(SFStringObject newValue)
Assign typed object value to SFString name field, similar tosetName(String)
.metaObject
setScheme(java.lang.String newValue)
Accessor method to assign String value to inputOutput SFString field named scheme.metaObject
setScheme(SFStringObject newValue)
Assign typed object value to SFString scheme field, similar tosetScheme(String)
.java.lang.String
toStringClassicVRML(int indentLevel)
Recursive method to provide ClassicVRML string serialization.java.lang.String
toStringVRML97(int indentLevel)
Recursive method to provide VRML97 string serialization.java.lang.String
toStringX3D(int indentLevel)
Recursive method to provide X3D string serialization of this model subgraph, utilizing XML encoding and conforming to X3D Canonical Form.java.lang.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.Methods inherited from class org.web3d.x3d.jsail.X3DConcreteElement
clearParentObject, findAncestorElementByName, findAncestorProtoBody, findAncestorSceneObject, findAncestorX3DObject, getPackageName, getParentObject, getValidationResult, hasAncestorElementByName, hasAncestorProtoBody, hasAncestorSceneObject, hasAncestorX3DObject, hasParentObject, isValid, setParentObject, toStringClassicVRML, toStringVRML97, toStringX3D
-
Field Details
-
DIR_RTL
public static final java.lang.String DIR_RTLTooltip: right-to-left. SFString field named dir with X3DUOM simpleType metaDirectionChoices and with X3DUOM baseType xs:NMTOKEN can equal this value "rtl" (Java syntax) or rtl (XML syntax). -
DIR_LTR
public static final java.lang.String DIR_LTRTooltip: left-to-right. SFString field named dir with X3DUOM simpleType metaDirectionChoices and with X3DUOM baseType xs:NMTOKEN can equal this value "ltr" (Java syntax) or ltr (XML syntax). -
NAME_ACCESSRIGHTS
public static final java.lang.String NAME_ACCESSRIGHTSTooltip: permission required to access resource or security status. SFString field named name with X3DUOM simpleType metaNameValues and with X3DUOM baseType xs:NMTOKEN can equal this value "accessRights" (Java syntax) or accessRights (XML syntax). -
NAME_AUTHOR
public static final java.lang.String NAME_AUTHORTooltip: name of individual author. SFString field named name with X3DUOM simpleType metaNameValues and with X3DUOM baseType xs:NMTOKEN can equal this value "author" (Java syntax) or author (XML syntax). -
NAME_CONTRIBUTOR
public static final java.lang.String NAME_CONTRIBUTORTooltip: name of individual contributing to this resource. SFString field named name with X3DUOM simpleType metaNameValues and with X3DUOM baseType xs:NMTOKEN can equal this value "contributor" (Java syntax) or contributor (XML syntax). -
NAME_CREATED
public static final java.lang.String NAME_CREATEDTooltip: date of initial version. SFString field named name with X3DUOM simpleType metaNameValues and with X3DUOM baseType xs:NMTOKEN can equal this value "created" (Java syntax) or created (XML syntax). -
NAME_CREATOR
public static final java.lang.String NAME_CREATORTooltip: name of original author. SFString field named name with X3DUOM simpleType metaNameValues and with X3DUOM baseType xs:NMTOKEN can equal this value "creator" (Java syntax) or creator (XML syntax). -
NAME_DESCRIPTION
public static final java.lang.String NAME_DESCRIPTIONTooltip: summary overview describing this resource. SFString field named name with X3DUOM simpleType metaNameValues and with X3DUOM baseType xs:NMTOKEN can equal this value "description" (Java syntax) or description (XML syntax). -
NAME_DISCLAIMER
public static final java.lang.String NAME_DISCLAIMERTooltip: statement of denial or disavowal regarding potential claims or responsiblity. SFString field named name with X3DUOM simpleType metaNameValues and with X3DUOM baseType xs:NMTOKEN can equal this value "disclaimer" (Java syntax) or disclaimer (XML syntax).- See Also:
- XML Schema: metaNameValues, Constant Field Values
-
NAME_DRAWING
public static final java.lang.String NAME_DRAWINGTooltip: name or reference link to a supporting drawing or sketch file. SFString field named name with X3DUOM simpleType metaNameValues and with X3DUOM baseType xs:NMTOKEN can equal this value "drawing" (Java syntax) or drawing (XML syntax).- See Also:
- XML Schema: metaNameValues, Constant Field Values
-
NAME_ERROR
public static final java.lang.String NAME_ERRORTooltip: information about an error (or known problem) that can prevent proper operation. SFString field named name with X3DUOM simpleType metaNameValues and with X3DUOM baseType xs:NMTOKEN can equal this value "error" (Java syntax) or error (XML syntax).- See Also:
- XML Schema: metaNameValues, Constant Field Values
-
NAME_GENERATOR
public static final java.lang.String NAME_GENERATORTooltip: authoring tool or translation tool. SFString field named name with X3DUOM simpleType metaNameValues and with X3DUOM baseType xs:NMTOKEN can equal this value "generator" (Java syntax) or generator (XML syntax). -
NAME_HINT
public static final java.lang.String NAME_HINTTooltip: user hint about resource features or operation. SFString field named name with X3DUOM simpleType metaNameValues and with X3DUOM baseType xs:NMTOKEN can equal this value "hint" (Java syntax) or hint (XML syntax).- See Also:
- XML Schema: metaNameValues, Constant Field Values
-
NAME_IDENTIFIER
public static final java.lang.String NAME_IDENTIFIERTooltip: url address or unique Uniform Resource Identifier (URI) for resource. SFString field named name with X3DUOM simpleType metaNameValues and with X3DUOM baseType xs:NMTOKEN can equal this value "identifier" (Java syntax) or identifier (XML syntax). -
NAME_IMAGE
public static final java.lang.String NAME_IMAGETooltip: name or reference link to supporting image file. SFString field named name with X3DUOM simpleType metaNameValues and with X3DUOM baseType xs:NMTOKEN can equal this value "Image" (Java syntax) or Image (XML syntax). -
NAME_INFO
public static final java.lang.String NAME_INFOTooltip: additional info of interest. SFString field named name with X3DUOM simpleType metaNameValues and with X3DUOM baseType xs:NMTOKEN can equal this value "info" (Java syntax) or info (XML syntax).- See Also:
- XML Schema: metaNameValues, Constant Field Values
-
NAME_INFORMATION
public static final java.lang.String NAME_INFORMATIONTooltip: additional information of interest. SFString field named name with X3DUOM simpleType metaNameValues and with X3DUOM baseType xs:NMTOKEN can equal this value "information" (Java syntax) or information (XML syntax).- See Also:
- XML Schema: metaNameValues, Constant Field Values
-
NAME_ISVERSIONOF
public static final java.lang.String NAME_ISVERSIONOFTooltip: Related resource of which the described resource is a version, edition, or adaptation. SFString field named name with X3DUOM simpleType metaNameValues and with X3DUOM baseType xs:NMTOKEN can equal this value "isVersionOf" (Java syntax) or isVersionOf (XML syntax). -
NAME_KEYWORDS
public static final java.lang.String NAME_KEYWORDSTooltip: comma-separated tokens, each of which is a keyword of interest. SFString field named name with X3DUOM simpleType metaNameValues and with X3DUOM baseType xs:NMTOKEN can equal this value "keywords" (Java syntax) or keywords (XML syntax). -
NAME_LICENSE
public static final java.lang.String NAME_LICENSETooltip: content or software license. SFString field named name with X3DUOM simpleType metaNameValues and with X3DUOM baseType xs:NMTOKEN can equal this value "license" (Java syntax) or license (XML syntax). -
NAME_MEDIATOR
public static final java.lang.String NAME_MEDIATORTooltip: entity that mediates access to resource and for whom resource is intended or useful. SFString field named name with X3DUOM simpleType metaNameValues and with X3DUOM baseType xs:NMTOKEN can equal this value "mediator" (Java syntax) or mediator (XML syntax). -
NAME_MODIFIED
public static final java.lang.String NAME_MODIFIEDTooltip: date of modified version. SFString field named name with X3DUOM simpleType metaNameValues and with X3DUOM baseType xs:NMTOKEN can equal this value "modified" (Java syntax) or modified (XML syntax). -
NAME_MOVIE
public static final java.lang.String NAME_MOVIETooltip: name or reference link to supporting movie file (note that Dublin Core term is MovingImage). SFString field named name with X3DUOM simpleType metaNameValues and with X3DUOM baseType xs:NMTOKEN can equal this value "movie" (Java syntax) or movie (XML syntax).- See Also:
- XML Schema: metaNameValues, Constant Field Values
-
NAME_MOVINGIMAGE
public static final java.lang.String NAME_MOVINGIMAGETooltip: name or reference link to supporting movie. SFString field named name with X3DUOM simpleType metaNameValues and with X3DUOM baseType xs:NMTOKEN can equal this value "MovingImage" (Java syntax) or MovingImage (XML syntax). -
NAME_ORIGINAL
public static final java.lang.String NAME_ORIGINALTooltip: name or reference link to original file or resource. SFString field named name with X3DUOM simpleType metaNameValues and with X3DUOM baseType xs:NMTOKEN can equal this value "original" (Java syntax) or original (XML syntax).- See Also:
- XML Schema: metaNameValues, Constant Field Values
-
NAME_PHOTO
public static final java.lang.String NAME_PHOTOTooltip: name or reference link to supporting photo file (note that Dublin Core term is Image). SFString field named name with X3DUOM simpleType metaNameValues and with X3DUOM baseType xs:NMTOKEN can equal this value "photo" (Java syntax) or photo (XML syntax).- See Also:
- XML Schema: metaNameValues, Constant Field Values
-
NAME_PHOTOGRAPH
public static final java.lang.String NAME_PHOTOGRAPHTooltip: name or reference link to supporting photograph file (note that Dublin Core term is Image). SFString field named name with X3DUOM simpleType metaNameValues and with X3DUOM baseType xs:NMTOKEN can equal this value "photograph" (Java syntax) or photograph (XML syntax).- See Also:
- XML Schema: metaNameValues, Constant Field Values
-
NAME_PUBLISHER
public static final java.lang.String NAME_PUBLISHERTooltip: entity responsible for making the resource available. SFString field named name with X3DUOM simpleType metaNameValues and with X3DUOM baseType xs:NMTOKEN can equal this value "publisher" (Java syntax) or publisher (XML syntax). -
NAME_REFERENCE
public static final java.lang.String NAME_REFERENCETooltip: name or reference link to supporting reference. SFString field named name with X3DUOM simpleType metaNameValues and with X3DUOM baseType xs:NMTOKEN can equal this value "reference" (Java syntax) or reference (XML syntax). -
NAME_REQUIRES
public static final java.lang.String NAME_REQUIRESTooltip: prerequisites for operation or viewing. SFString field named name with X3DUOM simpleType metaNameValues and with X3DUOM baseType xs:NMTOKEN can equal this value "requires" (Java syntax) or requires (XML syntax). -
NAME_RIGHTS
public static final java.lang.String NAME_RIGHTSTooltip: intellectual property rights (IPR). SFString field named name with X3DUOM simpleType metaNameValues and with X3DUOM baseType xs:NMTOKEN can equal this value "rights" (Java syntax) or rights (XML syntax). -
NAME_ROBOTS
public static final java.lang.String NAME_ROBOTSTooltip: search engine and web-spider guidance value: noindex to block page indexing, nofollow to block following links. SFString field named name with X3DUOM simpleType metaNameValues and with X3DUOM baseType xs:NMTOKEN can equal this value "robots" (Java syntax) or robots (XML syntax). -
NAME_SOUND
public static final java.lang.String NAME_SOUNDTooltip: name or reference link to supporting sound file. SFString field named name with X3DUOM simpleType metaNameValues and with X3DUOM baseType xs:NMTOKEN can equal this value "Sound" (Java syntax) or Sound (XML syntax). -
NAME_SOURCE
public static final java.lang.String NAME_SOURCETooltip: related resource from which the described resource is derived. SFString field named name with X3DUOM simpleType metaNameValues and with X3DUOM baseType xs:NMTOKEN can equal this value "source" (Java syntax) or source (XML syntax). -
NAME_SPECIFICATIONSECTION
public static final java.lang.String NAME_SPECIFICATIONSECTIONTooltip: title of relevant specification section. SFString field named name with X3DUOM simpleType metaNameValues and with X3DUOM baseType xs:NMTOKEN can equal this value "specificationSection" (Java syntax) or specificationSection (XML syntax).- See Also:
- XML Schema: metaNameValues, Constant Field Values
-
NAME_SPECIFICATIONURL
public static final java.lang.String NAME_SPECIFICATIONURLTooltip: url for relevant specification section. SFString field named name with X3DUOM simpleType metaNameValues and with X3DUOM baseType xs:NMTOKEN can equal this value "specificationUrl" (Java syntax) or specificationUrl (XML syntax). -
NAME_SUBJECT
public static final java.lang.String NAME_SUBJECTTooltip: search-index subject keywords, key phrases, or classification codes. SFString field named name with X3DUOM simpleType metaNameValues and with X3DUOM baseType xs:NMTOKEN can equal this value "subject" (Java syntax) or subject (XML syntax). -
NAME_TEXT
public static final java.lang.String NAME_TEXTTooltip: resource consisting primarily of words for reading. SFString field named name with X3DUOM simpleType metaNameValues and with X3DUOM baseType xs:NMTOKEN can equal this value "Text" (Java syntax) or Text (XML syntax). -
NAME_TITLE
public static final java.lang.String NAME_TITLETooltip: file name for this resource. SFString field named name with X3DUOM simpleType metaNameValues and with X3DUOM baseType xs:NMTOKEN can equal this value "title" (Java syntax) or title (XML syntax). -
NAME_TODO
public static final java.lang.String NAME_TODOTooltip: action item "to do" that still needs to be performed. SFString field named name with X3DUOM simpleType metaNameValues and with X3DUOM baseType xs:NMTOKEN can equal this value "TODO" (Java syntax) or TODO (XML syntax).- See Also:
- XML Schema: metaNameValues, Constant Field Values
-
NAME_TRANSLATOR
public static final java.lang.String NAME_TRANSLATORTooltip: name of person performing translation from another format or language. SFString field named name with X3DUOM simpleType metaNameValues and with X3DUOM baseType xs:NMTOKEN can equal this value "translator" (Java syntax) or translator (XML syntax).- See Also:
- XML Schema: metaNameValues, Constant Field Values
-
NAME_TRANSLATED
public static final java.lang.String NAME_TRANSLATEDTooltip: date of translation from another format or language. SFString field named name with X3DUOM simpleType metaNameValues and with X3DUOM baseType xs:NMTOKEN can equal this value "translated" (Java syntax) or translated (XML syntax).- See Also:
- XML Schema: metaNameValues, Constant Field Values
-
NAME_VERSION
public static final java.lang.String NAME_VERSIONTooltip: current version number or ID of this resource. SFString field named name with X3DUOM simpleType metaNameValues and with X3DUOM baseType xs:NMTOKEN can equal this value "version" (Java syntax) or version (XML syntax).- See Also:
- XML Schema: metaNameValues, Constant Field Values
-
NAME_WARNING
public static final java.lang.String NAME_WARNINGTooltip: warning information about a known problem that impedes proper operation. SFString field named name with X3DUOM simpleType metaNameValues and with X3DUOM baseType xs:NMTOKEN can equal this value "warning" (Java syntax) or warning (XML syntax).- See Also:
- XML Schema: metaNameValues, Constant Field Values
-
NAME
public static final java.lang.String NAMEString constant NAME provides name of this element: meta.- See Also:
- Constant Field Values
-
COMPONENT
public static final java.lang.String COMPONENTString constant COMPONENT defines X3D component for the meta element: Core- See Also:
- Constant Field Values
-
LEVEL
public static final int LEVELInteger constant LEVEL provides default X3D Core component level for this element: 1- See Also:
- Constant Field Values
-
CONTENT_DEFAULT_VALUE
public static final java.lang.String CONTENT_DEFAULT_VALUESFString field named content has default value equal to an empty string.- See Also:
- Constant Field Values
-
DIR_DEFAULT_VALUE
public static final java.lang.String DIR_DEFAULT_VALUESFString field named dir has default value equal to an empty string.- See Also:
- Constant Field Values
-
HTTP_EQUIV_DEFAULT_VALUE
public static final java.lang.String HTTP_EQUIV_DEFAULT_VALUESFString field named http_equiv has default value equal to an empty string.- See Also:
- Constant Field Values
-
LANG_DEFAULT_VALUE
public static final java.lang.String LANG_DEFAULT_VALUESFString field named lang has default value equal to an empty string.- See Also:
- Constant Field Values
-
NAME_DEFAULT_VALUE
public static final java.lang.String NAME_DEFAULT_VALUESFString field named name has default value equal to an empty string.- See Also:
- Constant Field Values
-
SCHEME_DEFAULT_VALUE
public static final java.lang.String SCHEME_DEFAULT_VALUESFString field named scheme has default value equal to an empty string.- See Also:
- Constant Field Values
-
-
Constructor Details
-
metaObject
public metaObject()Constructor for metaObject to initialize member variables with default values. -
metaObject
public metaObject(java.lang.String newName, java.lang.String newContent)Utility constructor that assigns name-value pair for name and content attributes.- Parameters:
newName
- name for this meta elementnewContent
- content value for this meta element- See Also:
- X3D Tooltips: meta statement, X3D Scene Authoring Hints: meta Statements, X3D Tooltips: type NMTOKEN
-
-
Method Details
-
getElementName
public final java.lang.String getElementName()Provides name of this element: meta- Specified by:
getElementName
in classX3DConcreteElement
- Returns:
- name of this element
-
getComponent
public final java.lang.String getComponent()Defines X3D component for the meta 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: 1- Specified by:
getComponentLevel
in classX3DConcreteElement
- Returns:
- default X3D component level for this element
-
getFieldType
public java.lang.String getFieldType(java.lang.String fieldName)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:
ConfigurationProperties.ERROR_UNKNOWN_FIELD_TYPE
-
getAccessType
public java.lang.String getAccessType(java.lang.String fieldName)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:
ConfigurationProperties.ERROR_UNKNOWN_FIELD_ACCESSTYPE
-
initialize
public final void initialize()Initialize all member variables to default values.- Overrides:
initialize
in classX3DConcreteStatement
-
getContent
public java.lang.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. http://www.dublincore.org/documents/dcmi-terms
- 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 & for & ampersand character, or " for " quotation-mark character).
- Returns:
- value of content field
-
setContent
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. http://www.dublincore.org/documents/dcmi-terms
- 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 & for & ampersand character, or " for " quotation-mark character).
- Parameters:
newValue
- is new value for the content field.- Returns:
metaObject
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
- X3D Scene Authoring Hints: meta Statements
-
setContent
Assign typed object value to SFString content field, similar tosetContent(String)
.- Parameters:
newValue
- is new value for the content field.- Returns:
metaObject
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getDir
public java.lang.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
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:
metaObject
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
- X3D Scene Authoring Hints: meta Statements
-
setDir
Assign typed object value to SFString dir field, similar tosetDir(String)
.- Parameters:
newValue
- is new value for the dir field.- Returns:
metaObject
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getHttp_equiv
public java.lang.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: <meta http-equiv='Expires' content='Tue, 20 Aug 1996 14:25:27 GMT'>.- 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 http://www.w3.org/TR/html4/struct/global.html#adef-http-equiv
- Returns:
- value of http-equiv field
-
setHttp_equiv
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: <meta http-equiv='Expires' content='Tue, 20 Aug 1996 14:25:27 GMT'>.- 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 http://www.w3.org/TR/html4/struct/global.html#adef-http-equiv
- Parameters:
newValue
- is new value for the http-equiv field.- Returns:
metaObject
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
- X3D Scene Authoring Hints: meta Statements
-
setHttp_equiv
Assign typed object value to SFString http_equiv field, similar tosetHttp_equiv(String)
.- Parameters:
newValue
- is new value for the http-equiv field.- Returns:
metaObject
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getLang
public java.lang.String getLang()Provide String value from inputOutput SFString field named lang.
Tooltip: Language code, as per [IETF BCP47/RFC5646] http://www.rfc-editor.org/rfc/bcp/bcp47.txt and described in http://www.w3.org/International/articles/language-elements- Hint: Language Subtag Lookup at http://people.w3.org/rishida/utils/subelements
- Returns:
- value of lang field
-
setLang
Accessor method to assign String value to inputOutput SFString field named lang.
Tooltip: Language code, as per [IETF BCP47/RFC5646] http://www.rfc-editor.org/rfc/bcp/bcp47.txt and described in http://www.w3.org/International/articles/language-elements- Hint: Language Subtag Lookup at http://people.w3.org/rishida/utils/subelements
- Parameters:
newValue
- is new value for the lang field.- Returns:
metaObject
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
- X3D Scene Authoring Hints: meta Statements
-
setLang
Assign typed object value to SFString lang field, similar tosetLang(String)
.- Parameters:
newValue
- is new value for the lang field.- Returns:
metaObject
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getName
public java.lang.String getName()Provide String enumeration value (baseType xs:NMTOKEN) ["accessRights" | "author" | "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. http://www.dublincore.org/documents/dcmi-terms
- 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 https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#NamingConventions
- Hint: HTML5 section 4.2.5.1. Standard metadata names https://www.w3.org/TR/html5/document-metadata.html#standard-metadata-names
- Hint: HTML5 section 4.2.5.2. Other metadata names https://www.w3.org/TR/html5/document-metadata.html#other-metadata-names
- Hint: WHATWG Wiki MetaExtensions https://wiki.whatwg.org/wiki/MetaExtensions
- 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
,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
Accessor method to assign String enumeration value ("accessRights" | "author" | "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
,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. http://www.dublincore.org/documents/dcmi-terms
- 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 https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#NamingConventions
- Hint: HTML5 section 4.2.5.1. Standard metadata names https://www.w3.org/TR/html5/document-metadata.html#standard-metadata-names
- Hint: HTML5 section 4.2.5.2. Other metadata names https://www.w3.org/TR/html5/document-metadata.html#other-metadata-names
- Hint: WHATWG Wiki MetaExtensions https://wiki.whatwg.org/wiki/MetaExtensions
- 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:
metaObject
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
- X3D Scene Authoring Hints: meta Statements
-
setName
Assign typed object value to SFString name field, similar tosetName(String)
.- Parameters:
newValue
- is new value for the name field.- Returns:
metaObject
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getScheme
public java.lang.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, <meta scheme="ISBN" name="identifier" content="0-8230-2355-9"> 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
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, <meta scheme="ISBN" name="identifier" content="0-8230-2355-9"> 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:
metaObject
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
- X3D Scene Authoring Hints: meta Statements
-
setScheme
Assign typed object value to SFString scheme field, similar tosetScheme(String)
.- Parameters:
newValue
- is new value for the scheme field.- Returns:
metaObject
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
addComments
Add comment as String to contained commentsList.- Specified by:
addComments
in classX3DConcreteElement
- Parameters:
newComment
- initial value- Returns:
metaObject
- namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
-
addComments
Add comments as String[] array to contained commentsList.- Specified by:
addComments
in classX3DConcreteElement
- Parameters:
newComments
- array of comments- Returns:
metaObject
- namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
-
addComments
Add CommentsBlock to contained commentsList.- Specified by:
addComments
in classX3DConcreteElement
- Parameters:
newCommentsBlock
- block of comments to add- Returns:
metaObject
- namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
-
toStringX3D
public java.lang.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 classX3DConcreteElement
- Parameters:
indentLevel
- number of levels of indentation for this element- Returns:
- X3D string
- See Also:
X3DObject.FILE_EXTENSION_X3D
,X3DObject.FILE_EXTENSION_XML
,X3DObject.toStringXML()
,X3DObject.toFileXML(String)
,X3DObject.toFileX3D(String)
, X3D XML Encoding, X3D Compressed Binary Encoding: X3D Canonical Form, X3D Canonicalization (C14N) Tool
-
toStringClassicVRML
public java.lang.String toStringClassicVRML(int indentLevel)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:
X3DObject.FILE_EXTENSION_CLASSICVRML
, X3D Resources: Virtual Reality Modeling Language (VRML) 97, Extensible 3D (X3D) encodings Part 2: Classic VRML encoding, Extensible 3D (X3D) encodings Part 2: Classic VRML encoding, Annex A: Grammar
-
toStringVRML97
public java.lang.String toStringVRML97(int indentLevel)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:
X3DObject.FILE_EXTENSION_VRML97
, X3D Resources: Virtual Reality Modeling Language (VRML) 97, Virtual Reality Modeling Language (VRML) 97 specification, VRML 97 v2.1 Amendment
-
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 findAncestorSceneObject() to check entire scene graph, or findAncestorX3DObject() 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:
findNodeByDEF(String)
,X3DConcreteElement.hasAncestorSceneObject()
,X3DConcreteElement.findAncestorX3DObject()
-
findElementByNameValue
public X3DConcreteElement findElementByNameValue(java.lang.String nameValue, java.lang.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 findAncestorSceneObject() to check entire scene graph, or findAncestorX3DObject() 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:
findNodeByDEF(String)
,X3DConcreteElement.hasAncestorSceneObject()
,X3DConcreteElement.findAncestorX3DObject()
-
hasElementByNameValue
public boolean hasElementByNameValue(java.lang.String nameValue, java.lang.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:
findElementByNameValue(String, String)
-
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 findAncestorSceneObject() to check entire scene graph, or findAncestorX3DObject() 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:
findElementByNameValue(String)
,X3DConcreteElement.hasAncestorSceneObject()
,X3DConcreteElement.findAncestorX3DObject()
-
hasNodeByDEF
public boolean hasNodeByDEF(java.lang.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:
findNodeByDEF(String)
-
validate
public java.lang.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 classX3DConcreteElement
- Returns:
- validation results (if any)
-