public class metaObject extends X3DConcreteStatement
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPONENT
String constant COMPONENT defines X3D component for the meta element: Core
|
static 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
SFString field named dir can equal this enumeration value "ltr" (Java syntax) or ltr (XML syntax).
|
static java.lang.String |
DIR_RTL
SFString field named dir can equal this enumeration value "rtl" (Java syntax) or rtl (XML syntax).
|
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: 1
|
static java.lang.String |
NAME
String constant NAME provides name of this element: meta.
|
static java.lang.String |
NAME_ACCESSRIGHTS
SFString field named name can equal this enumeration value "accessRights" (Java syntax) or accessRights (XML syntax).
|
static java.lang.String |
NAME_CONTRIBUTOR
SFString field named name can equal this enumeration value "contributor" (Java syntax) or contributor (XML syntax).
|
static java.lang.String |
NAME_CREATED
SFString field named name can equal this enumeration value "created" (Java syntax) or created (XML syntax).
|
static java.lang.String |
NAME_CREATOR
SFString field named name can equal this enumeration value "creator" (Java syntax) or creator (XML syntax).
|
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
SFString field named name can equal this enumeration value "description" (Java syntax) or description (XML syntax).
|
static java.lang.String |
NAME_DRAWING
SFString field named name can equal this enumeration value "drawing" (Java syntax) or drawing (XML syntax).
|
static java.lang.String |
NAME_ERROR
SFString field named name can equal this enumeration value "error" (Java syntax) or error (XML syntax).
|
static java.lang.String |
NAME_GENERATOR
SFString field named name can equal this enumeration value "generator" (Java syntax) or generator (XML syntax).
|
static java.lang.String |
NAME_HINT
SFString field named name can equal this enumeration value "hint" (Java syntax) or hint (XML syntax).
|
static java.lang.String |
NAME_IDENTIFIER
SFString field named name can equal this enumeration value "identifier" (Java syntax) or identifier (XML syntax).
|
static java.lang.String |
NAME_IMAGE
SFString field named name can equal this enumeration value "Image" (Java syntax) or Image (XML syntax).
|
static java.lang.String |
NAME_INFO
SFString field named name can equal this enumeration value "info" (Java syntax) or info (XML syntax).
|
static java.lang.String |
NAME_LICENSE
SFString field named name can equal this enumeration value "license" (Java syntax) or license (XML syntax).
|
static java.lang.String |
NAME_MODIFIED
SFString field named name can equal this enumeration value "modified" (Java syntax) or modified (XML syntax).
|
static java.lang.String |
NAME_MOVINGIMAGE
SFString field named name can equal this enumeration value "MovingImage" (Java syntax) or MovingImage (XML syntax).
|
static java.lang.String |
NAME_PHOTO
SFString field named name can equal this enumeration value "photo" (Java syntax) or photo (XML syntax).
|
static java.lang.String |
NAME_REFERENCE
SFString field named name can equal this enumeration value "reference" (Java syntax) or reference (XML syntax).
|
static java.lang.String |
NAME_REQUIRES
SFString field named name can equal this enumeration value "requires" (Java syntax) or requires (XML syntax).
|
static java.lang.String |
NAME_RIGHTS
SFString field named name can equal this enumeration value "rights" (Java syntax) or rights (XML syntax).
|
static java.lang.String |
NAME_ROBOTS
SFString field named name can equal this enumeration value "robots" (Java syntax) or robots (XML syntax).
|
static java.lang.String |
NAME_SOUND
SFString field named name can equal this enumeration value "Sound" (Java syntax) or Sound (XML syntax).
|
static java.lang.String |
NAME_SPECIFICATIONSECTION
SFString field named name can equal this enumeration value "specificationSection" (Java syntax) or specificationSection (XML syntax).
|
static java.lang.String |
NAME_SPECIFICATIONURL
SFString field named name can equal this enumeration value "specificationUrl" (Java syntax) or specificationUrl (XML syntax).
|
static java.lang.String |
NAME_SUBJECT
SFString field named name can equal this enumeration value "subject" (Java syntax) or subject (XML syntax).
|
static java.lang.String |
NAME_TEXT
SFString field named name can equal this enumeration value "Text" (Java syntax) or Text (XML syntax).
|
static java.lang.String |
NAME_TITLE
SFString field named name can equal this enumeration value "title" (Java syntax) or title (XML syntax).
|
static java.lang.String |
NAME_TODO
SFString field named name can equal this enumeration value "TODO" (Java syntax) or TODO (XML syntax).
|
static java.lang.String |
NAME_TRANSLATED
SFString field named name can equal this enumeration value "translated" (Java syntax) or translated (XML syntax).
|
static java.lang.String |
NAME_TRANSLATOR
SFString field named name can equal this enumeration value "translator" (Java syntax) or translator (XML syntax).
|
static java.lang.String |
NAME_VERSION
SFString field named name can equal this enumeration value "version" (Java syntax) or version (XML syntax).
|
static java.lang.String |
NAME_WARNING
SFString field named name can equal this enumeration value "warning" (Java syntax) or warning (XML syntax).
|
static java.lang.String |
SCHEME_DEFAULT_VALUE
SFString field named scheme has default value equal to an empty string.
|
validationResult| Constructor and 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.
|
| Modifier and Type | Method and Description |
|---|---|
metaObject |
addComments(CommentsBlock newCommentsBlock)
Add CommentsBlock to contained commentsList.
|
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.
|
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: Core
|
int |
getComponentLevel()
Provides default X3D component level for this element: 1
|
java.lang.String |
getContent()
Provide String value from inputOutput SFString field named content.
|
java.lang.String |
getDir()
Provide String enumeration value ['rtl'|'ltr'] from inputOutput SFString field named dir.
|
java.lang.String |
getElementName()
Provides name of this element: meta
|
java.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 ['accessRights'|'contributor'|'created'|'creator'|'description'|'drawing'|'error'|'generator'|'hint'|'identifier'|'Image'|'info'|'license'|'modified'|'MovingImage'|'photo'|'reference'|'requires'|'rights'|'robots'|'Sound'|'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(SFStringObject newValue)
Assign typed object value to SFString content field, similar to
setContent(String). |
metaObject |
setContent(java.lang.String newValue)
Assign String value to inputOutput SFString field named content.
|
metaObject |
setDir(SFStringObject newValue)
Assign typed object value to SFString dir field, similar to
setDir(String). |
metaObject |
setDir(java.lang.String newValue)
Assign String enumeration value ("rtl"|"ltr") ['rtl'|'ltr'] to inputOutput SFString field named dir.
|
metaObject |
setHttp_equiv(SFStringObject newValue)
Assign typed object value to SFString http_equiv field, similar to
setHttp_equiv(String). |
metaObject |
setHttp_equiv(java.lang.String newValue)
Assign String value to inputOutput SFString field named http-equiv.
|
metaObject |
setLang(SFStringObject newValue)
Assign typed object value to SFString lang field, similar to
setLang(String). |
metaObject |
setLang(java.lang.String newValue)
Assign String value to inputOutput SFString field named lang.
|
metaObject |
setName(SFStringObject newValue)
Assign typed object value to SFString name field, similar to
setName(String). |
metaObject |
setName(java.lang.String newValue)
Assign String enumeration value ("accessRights"|"contributor"|"created"|"creator"|"description"|"drawing"|"error"|"generator"|"hint"|"identifier"|"Image"|"info"|"license"|"modified"|"MovingImage"|"photo"|"reference"|"requires"|"rights"|"robots"|"Sound"|"specificationSection"|"specificationUrl"|"subject"|"Text"|"title"|"TODO"|"translator"|"translated"|"version"|"warning") ['accessRights'|'contributor'|'created'|'creator'|'description'|'drawing'|'error'|'generator'|'hint'|'identifier'|'Image'|'info'|'license'|'modified'|'MovingImage'|'photo'|'reference'|'requires'|'rights'|'robots'|'Sound'|'specificationSection'|'specificationUrl'|'subject'|'Text'|'title'|'TODO'|'translator'|'translated'|'version'|'warning'|'etc.'] to inputOutput SFString field named name.
|
metaObject |
setScheme(SFStringObject newValue)
Assign typed object value to SFString scheme field, similar to
setScheme(String). |
metaObject |
setScheme(java.lang.String newValue)
Assign String value to inputOutput SFString field named scheme.
|
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.
|
isNode, isStatementclearParentObject, findAncestorElementByName, findAncestorProtoBody, findAncestorSceneObject, findAncestorX3DObject, getPackageName, getParentObject, getValidationResult, hasAncestorElementByName, hasAncestorProtoBody, hasAncestorSceneObject, hasAncestorX3DObject, setParentObject, toStringClassicVRML, toStringVRML97, toStringX3Dpublic static final java.lang.String DIR_RTL
public static final java.lang.String DIR_LTR
public static final java.lang.String NAME_ACCESSRIGHTS
public static final java.lang.String NAME_CONTRIBUTOR
public static final java.lang.String NAME_CREATED
public static final java.lang.String NAME_CREATOR
public static final java.lang.String NAME_DESCRIPTION
public static final java.lang.String NAME_DRAWING
public static final java.lang.String NAME_ERROR
public static final java.lang.String NAME_GENERATOR
public static final java.lang.String NAME_HINT
public static final java.lang.String NAME_IDENTIFIER
public static final java.lang.String NAME_IMAGE
public static final java.lang.String NAME_INFO
public static final java.lang.String NAME_LICENSE
public static final java.lang.String NAME_MODIFIED
public static final java.lang.String NAME_MOVINGIMAGE
public static final java.lang.String NAME_PHOTO
public static final java.lang.String NAME_REFERENCE
public static final java.lang.String NAME_REQUIRES
public static final java.lang.String NAME_RIGHTS
public static final java.lang.String NAME_ROBOTS
public static final java.lang.String NAME_SOUND
public static final java.lang.String NAME_SPECIFICATIONSECTION
public static final java.lang.String NAME_SPECIFICATIONURL
public static final java.lang.String NAME_SUBJECT
public static final java.lang.String NAME_TEXT
public static final java.lang.String NAME_TITLE
public static final java.lang.String NAME_TODO
public static final java.lang.String NAME_TRANSLATOR
public static final java.lang.String NAME_TRANSLATED
public static final java.lang.String NAME_VERSION
public static final java.lang.String NAME_WARNING
public static final java.lang.String NAME
public static final java.lang.String COMPONENT
public static final int LEVEL
public static final java.lang.String CONTENT_DEFAULT_VALUE
public static final java.lang.String DIR_DEFAULT_VALUE
public static final java.lang.String HTTP_EQUIV_DEFAULT_VALUE
public static final java.lang.String LANG_DEFAULT_VALUE
public static final java.lang.String NAME_DEFAULT_VALUE
public static final java.lang.String SCHEME_DEFAULT_VALUE
public metaObject()
public metaObject(java.lang.String newName,
java.lang.String newContent)
newName - name for this meta elementnewContent - content value for this meta elementpublic final java.lang.String getElementName()
getElementName in class X3DConcreteElementpublic final java.lang.String getComponent()
getComponent in class X3DConcreteElementpublic final int getComponentLevel()
getComponentLevel in class X3DConcreteElementpublic java.lang.String getFieldType(java.lang.String fieldName)
getFieldType in class X3DConcreteElementfieldName - name of field in this X3D statementConfigurationProperties.ERROR_UNKNOWN_FIELD_TYPEpublic java.lang.String getAccessType(java.lang.String fieldName)
getAccessType in class X3DConcreteElementfieldName - name of field in this X3D statementConfigurationProperties.ERROR_UNKNOWN_FIELD_ACCESSTYPEpublic final void initialize()
initialize in class X3DConcreteStatementpublic java.lang.String getContent()
public metaObject setContent(java.lang.String newValue)
newValue - is new value for the content field.metaObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public metaObject setContent(SFStringObject newValue)
setContent(String).newValue - is new value for the content field.metaObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public java.lang.String getDir()
RTL, LTR.public metaObject setDir(java.lang.String newValue)
RTL, LTR).
newValue - is new value for the dir field.metaObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public metaObject setDir(SFStringObject newValue)
setDir(String).newValue - is new value for the dir field.metaObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public java.lang.String getHttp_equiv()
public metaObject setHttp_equiv(java.lang.String newValue)
newValue - is new value for the http-equiv field.metaObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public metaObject setHttp_equiv(SFStringObject newValue)
setHttp_equiv(String).newValue - is new value for the http-equiv field.metaObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public java.lang.String getLang()
public metaObject setLang(java.lang.String newValue)
newValue - is new value for the lang field.metaObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public metaObject setLang(SFStringObject newValue)
setLang(String).newValue - is new value for the lang field.metaObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public java.lang.String getName()
ACCESSRIGHTS, CONTRIBUTOR, CREATED, CREATOR, DESCRIPTION, DRAWING, ERROR, GENERATOR, HINT, IDENTIFIER, IMAGE, INFO, LICENSE, MODIFIED, MOVINGIMAGE, PHOTO, REFERENCE, REQUIRES, RIGHTS, ROBOTS, SOUND, SPECIFICATIONSECTION, SPECIFICATIONURL, SUBJECT, TEXT, TITLE, TODO, TRANSLATOR, TRANSLATED, VERSION, WARNING.public final metaObject setName(java.lang.String newValue)
ACCESSRIGHTS, CONTRIBUTOR, CREATED, CREATOR, DESCRIPTION, DRAWING, ERROR, GENERATOR, HINT, IDENTIFIER, IMAGE, INFO, LICENSE, MODIFIED, MOVINGIMAGE, PHOTO, REFERENCE, REQUIRES, RIGHTS, ROBOTS, SOUND, SPECIFICATIONSECTION, SPECIFICATIONURL, SUBJECT, TEXT, TITLE, TODO, TRANSLATOR, TRANSLATED, VERSION, WARNING).
newValue - is new value for the name field.metaObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public metaObject setName(SFStringObject newValue)
setName(String).newValue - is new value for the name field.metaObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public java.lang.String getScheme()
public metaObject setScheme(java.lang.String newValue)
newValue - is new value for the scheme field.metaObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public metaObject setScheme(SFStringObject newValue)
setScheme(String).newValue - is new value for the scheme field.metaObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public metaObject addComments(java.lang.String newComment)
addComments in class X3DConcreteElementnewComment - initial valuemetaObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public metaObject addComments(java.lang.String[] newComments)
addComments in class X3DConcreteElementnewComments - array of commentsmetaObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public metaObject addComments(CommentsBlock newCommentsBlock)
addComments in class X3DConcreteElementnewCommentsBlock - block of comments to addmetaObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public java.lang.String toStringX3D(int indentLevel)
toStringX3D in class X3DConcreteElementindentLevel - number of levels of indentation for this elementX3DObject.FILE_EXTENSION_X3D,
X3DObject.FILE_EXTENSION_XML,
X3DObject.toStringXML(),
X3DObject.toFileXML(String),
X3DObject.toFileX3D(String),
X3D XML Encoding,
X3D Compressed Binary Encoding: X3D Canonical Formpublic java.lang.String toStringClassicVRML(int indentLevel)
toStringClassicVRML in class X3DConcreteElementindentLevel - number of levels of indentation for this elementX3DObject.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: Grammarpublic java.lang.String toStringVRML97(int indentLevel)
toStringVRML97 in class X3DConcreteElementindentLevel - number of levels of indentation for this elementX3DObject.FILE_EXTENSION_VRML97,
X3D Resources: Virtual Reality Modeling Language (VRML) 97,
Virtual Reality Modeling Language (VRML) 97 specification,
VRML 97 v2.1 Amendmentpublic X3DConcreteElement findElementByNameValue(java.lang.String nameValue)
findElementByNameValue in class X3DConcreteElementnameValue - is value of the name field being searched for in this element and child elements(if any)findNodeByDEF(String),
X3DConcreteElement.hasAncestorSceneObject(),
X3DConcreteElement.findAncestorX3DObject()public X3DConcreteElement findElementByNameValue(java.lang.String nameValue, java.lang.String elementName)
findElementByNameValue in class X3DConcreteElementnameValue - 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.)findNodeByDEF(String),
X3DConcreteElement.hasAncestorSceneObject(),
X3DConcreteElement.findAncestorX3DObject()public boolean hasElementByNameValue(java.lang.String nameValue,
java.lang.String elementName)
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.)findElementByNameValue(String, String)public X3DConcreteNode findNodeByDEF(java.lang.String DEFvalue)
findNodeByDEF in class X3DConcreteElementDEFvalue - is value of the name field being searched for in this element and child elements(if any)findElementByNameValue(String),
X3DConcreteElement.hasAncestorSceneObject(),
X3DConcreteElement.findAncestorX3DObject()public boolean hasNodeByDEF(java.lang.String DEFvalue)
DEFvalue - is value of the name field being searched for in this element and child elements(if any)findNodeByDEF(String)public java.lang.String validate()
validate in class X3DConcreteElementCopyright ©2005-2017 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.