public class TimeSensorObject extends X3DConcreteNode implements TimeSensor
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPONENT
String constant COMPONENT defines X3D component for the TimeSensor element: Time
|
static java.lang.String |
containerField_DEFAULT_VALUE
containerField describes typical field relationship of a node to its parent.
|
static double |
CYCLEINTERVAL_DEFAULT_VALUE
SFTime field named cycleInterval has default value 1.0 (Java syntax) or 1.0 (XML syntax).
|
static boolean |
ENABLED_DEFAULT_VALUE
SFBool field named enabled has default value true (Java syntax) or true (XML syntax).
|
static java.lang.String |
fromField_CYCLEINTERVAL
fromField ROUTE name for SFTime field named cycleInterval.
|
static java.lang.String |
fromField_CYCLETIME
fromField ROUTE name for SFTime field named cycleTime.
|
static java.lang.String |
fromField_ELAPSEDTIME
fromField ROUTE name for SFTime field named elapsedTime.
|
static java.lang.String |
fromField_ENABLED
fromField ROUTE name for SFBool field named enabled.
|
static java.lang.String |
fromField_FRACTION_CHANGED
fromField ROUTE name for SFFloat field named fraction_changed.
|
static java.lang.String |
fromField_ISACTIVE
fromField ROUTE name for SFBool field named isActive.
|
static java.lang.String |
fromField_ISPAUSED
fromField ROUTE name for SFBool field named isPaused.
|
static java.lang.String |
fromField_LOOP
fromField ROUTE name for SFBool field named loop.
|
static java.lang.String |
fromField_METADATA
fromField ROUTE name for SFNode field named metadata.
|
static java.lang.String |
fromField_PAUSETIME
fromField ROUTE name for SFTime field named pauseTime.
|
static java.lang.String |
fromField_RESUMETIME
fromField ROUTE name for SFTime field named resumeTime.
|
static java.lang.String |
fromField_STARTTIME
fromField ROUTE name for SFTime field named startTime.
|
static java.lang.String |
fromField_STOPTIME
fromField ROUTE name for SFTime field named stopTime.
|
static java.lang.String |
fromField_TIME
fromField ROUTE name for SFTime field named time.
|
static int |
LEVEL
Integer constant LEVEL provides default X3D Time component level for this element: 1
|
static boolean |
LOOP_DEFAULT_VALUE
SFBool field named loop has default value false (Java syntax) or false (XML syntax).
|
static java.lang.String |
NAME
String constant NAME provides name of this element: TimeSensor.
|
static double |
PAUSETIME_DEFAULT_VALUE
SFTime field named pauseTime has default value 0 (Java syntax) or 0 (XML syntax).
|
static double |
RESUMETIME_DEFAULT_VALUE
SFTime field named resumeTime has default value 0 (Java syntax) or 0 (XML syntax).
|
static double |
STARTTIME_DEFAULT_VALUE
SFTime field named startTime has default value 0 (Java syntax) or 0 (XML syntax).
|
static double |
STOPTIME_DEFAULT_VALUE
SFTime field named stopTime has default value 0 (Java syntax) or 0 (XML syntax).
|
static java.lang.String |
toField_CYCLEINTERVAL
toField ROUTE name for SFTime field named cycleInterval.
|
static java.lang.String |
toField_ENABLED
toField ROUTE name for SFBool field named enabled.
|
static java.lang.String |
toField_LOOP
toField ROUTE name for SFBool field named loop.
|
static java.lang.String |
toField_METADATA
toField ROUTE name for SFNode field named metadata.
|
static java.lang.String |
toField_PAUSETIME
toField ROUTE name for SFTime field named pauseTime.
|
static java.lang.String |
toField_RESUMETIME
toField ROUTE name for SFTime field named resumeTime.
|
static java.lang.String |
toField_STARTTIME
toField ROUTE name for SFTime field named startTime.
|
static java.lang.String |
toField_STOPTIME
toField ROUTE name for SFTime field named stopTime.
|
CLASS_DEFAULT_VALUE, containerField_ALTERNATE_VALUES, DEF_DEFAULT_VALUE, USE_DEFAULT_VALUEvalidationResult| Constructor and Description |
|---|
TimeSensorObject()
Constructor for TimeSensorObject to initialize member variables with default values.
|
TimeSensorObject(java.lang.String DEFlabel)
Utility constructor that assigns DEF label after initializing member variables with default values.
|
| Modifier and Type | Method and Description |
|---|---|
TimeSensorObject |
addComments(CommentsBlock newCommentsBlock)
Add CommentsBlock to contained commentsList.
|
TimeSensorObject |
addComments(java.lang.String newComment)
Add comment as String to contained commentsList.
|
TimeSensorObject |
addComments(java.lang.String[] newComments)
Add comments as String[] array to contained commentsList.
|
TimeSensorObject |
clearMetadata()
Utility method to clear SFNode value of metadata field.
|
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 TimeSensor element: Time
|
int |
getComponentLevel()
Provides default X3D component level for this element: 1
|
java.lang.String |
getContainerFieldDefault()
containerField describes typical field relationship of a node to its parent.
|
double |
getCycleInterval()
Provide double value in seconds within allowed range of [0,infinity) from inputOutput SFTime field named cycleInterval.
|
double |
getCycleTime()
Provide double value in seconds within allowed range of [0,infinity) from outputOnly SFTime field named cycleTime.
|
double |
getElapsedTime()
Provide double value in seconds within allowed range of [0,infinity) from outputOnly SFTime field named elapsedTime.
|
java.lang.String |
getElementName()
Provides name of this element: TimeSensor
|
boolean |
getEnabled()
Provide boolean value from inputOutput SFBool field named enabled.
|
java.lang.String |
getFieldType(java.lang.String fieldName)
Indicate type corresponding to given fieldName.
|
float |
getFraction()
Provide float value from outputOnly SFFloat field named fraction_changed.
|
ISObject |
getIS()
Provide field named IS for establishing IS/connect field connections between ProtoInterface fields and internal ProtoBody nodes.
|
boolean |
getIsActive()
Provide boolean value from outputOnly SFBool field named isActive.
|
boolean |
getIsPaused()
Provide boolean value from outputOnly SFBool field named isPaused.
|
boolean |
getLoop()
Provide boolean value from inputOutput SFBool field named loop.
|
X3DMetadataObject |
getMetadata()
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
|
double |
getPauseTime()
Provide double value in seconds from inputOutput SFTime field named pauseTime.
|
double |
getResumeTime()
Provide double value in seconds from inputOutput SFTime field named resumeTime.
|
double |
getStartTime()
Provide double value in seconds from inputOutput SFTime field named startTime.
|
double |
getStopTime()
Provide double value in seconds from inputOutput SFTime field named stopTime.
|
double |
getTime()
Provide double value in seconds within allowed range of [0,infinity) from outputOnly SFTime field named time.
|
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 |
hasMetadata()
Indicate whether an object is available for inputOutput SFNode field metadata.
|
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.
|
TimeSensorObject |
setCssClass(SFStringObject newValue)
Assign typed object value to SFString cssClass field, similar to
setCssClass(String). |
TimeSensorObject |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
TimeSensorObject |
setCycleInterval(double newValue)
Assign double value in seconds within allowed range of [0,infinity) to inputOutput SFTime field named cycleInterval.
|
TimeSensorObject |
setCycleInterval(SFTimeObject newValue)
Assign typed object value to SFTime cycleInterval field, similar to
setCycleInterval(double). |
TimeSensorObject |
setDEF(SFStringObject newValue)
Assign typed object value to SFString DEF field, similar to
setDEF(String). |
TimeSensorObject |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
TimeSensorObject |
setEnabled(boolean newValue)
Assign boolean value to inputOutput SFBool field named enabled.
|
TimeSensorObject |
setEnabled(SFBoolObject newValue)
Assign typed object value to SFBool enabled field, similar to
setEnabled(boolean). |
TimeSensorObject |
setIS(ISObject newValue)
Assign field named IS for establishing IS/connect field connections between ProtoInterface fields and internal ProtoBody nodes.
|
TimeSensorObject |
setLoop(boolean newValue)
Assign boolean value to inputOutput SFBool field named loop.
|
TimeSensorObject |
setLoop(SFBoolObject newValue)
Assign typed object value to SFBool loop field, similar to
setLoop(boolean). |
TimeSensorObject |
setMetadata(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field metadata.
|
TimeSensorObject |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
TimeSensorObject |
setPauseTime(double newValue)
Assign double value in seconds to inputOutput SFTime field named pauseTime.
|
TimeSensorObject |
setPauseTime(SFTimeObject newValue)
Assign typed object value to SFTime pauseTime field, similar to
setPauseTime(double). |
TimeSensorObject |
setResumeTime(double newValue)
Assign double value in seconds to inputOutput SFTime field named resumeTime.
|
TimeSensorObject |
setResumeTime(SFTimeObject newValue)
Assign typed object value to SFTime resumeTime field, similar to
setResumeTime(double). |
TimeSensorObject |
setStartTime(double newValue)
Assign double value in seconds to inputOutput SFTime field named startTime.
|
TimeSensorObject |
setStartTime(SFTimeObject newValue)
Assign typed object value to SFTime startTime field, similar to
setStartTime(double). |
TimeSensorObject |
setStopTime(double newValue)
Assign double value in seconds to inputOutput SFTime field named stopTime.
|
TimeSensorObject |
setStopTime(SFTimeObject newValue)
Assign typed object value to SFTime stopTime field, similar to
setStopTime(double). |
TimeSensorObject |
setUSE(SFStringObject newValue)
Assign typed object value to SFString USE field, similar to
setUSE(String). |
TimeSensorObject |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
TimeSensorObject |
setUSE(TimeSensorObject DEFnode)
Assign a USE reference to another DEF node of same node type, similar to
setUSE(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.
|
getContainerFieldAlternateValues, getContainerFieldOverride, getCssClass, getDEF, getUSE, isNode, isStatement, isUSE, resetContainerFieldOverride, setConcreteCssClass, setConcreteDEF, setConcreteUSE, setContainerFieldOverrideclearParentObject, findAncestorElementByName, findAncestorProtoBody, findAncestorSceneObject, findAncestorX3DObject, getPackageName, getParentObject, getValidationResult, hasAncestorElementByName, hasAncestorProtoBody, hasAncestorSceneObject, hasAncestorX3DObject, setParentObject, toStringClassicVRML, toStringVRML97, toStringX3Dpublic static final java.lang.String NAME
public static final java.lang.String COMPONENT
public static final int LEVEL
public static final double CYCLEINTERVAL_DEFAULT_VALUE
public static final boolean ENABLED_DEFAULT_VALUE
public static final boolean LOOP_DEFAULT_VALUE
public static final double PAUSETIME_DEFAULT_VALUE
public static final double RESUMETIME_DEFAULT_VALUE
public static final double STARTTIME_DEFAULT_VALUE
public static final double STOPTIME_DEFAULT_VALUE
public static final java.lang.String containerField_DEFAULT_VALUE
public static final java.lang.String fromField_CYCLEINTERVAL
public static final java.lang.String toField_CYCLEINTERVAL
public static final java.lang.String fromField_CYCLETIME
public static final java.lang.String fromField_ELAPSEDTIME
public static final java.lang.String fromField_ENABLED
public static final java.lang.String toField_ENABLED
public static final java.lang.String fromField_FRACTION_CHANGED
public static final java.lang.String fromField_ISACTIVE
public static final java.lang.String fromField_ISPAUSED
public static final java.lang.String fromField_LOOP
public static final java.lang.String toField_LOOP
public static final java.lang.String fromField_METADATA
public static final java.lang.String toField_METADATA
public static final java.lang.String fromField_PAUSETIME
public static final java.lang.String toField_PAUSETIME
public static final java.lang.String fromField_RESUMETIME
public static final java.lang.String toField_RESUMETIME
public static final java.lang.String fromField_STARTTIME
public static final java.lang.String toField_STARTTIME
public static final java.lang.String fromField_STOPTIME
public static final java.lang.String toField_STOPTIME
public static final java.lang.String fromField_TIME
public TimeSensorObject()
public TimeSensorObject(java.lang.String DEFlabel)
DEFlabel - unique DEF name for this X3D nodepublic 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 nodeConfigurationProperties.ERROR_UNKNOWN_FIELD_TYPEpublic java.lang.String getAccessType(java.lang.String fieldName)
getAccessType in class X3DConcreteElementfieldName - name of field in this X3D nodeConfigurationProperties.ERROR_UNKNOWN_FIELD_ACCESSTYPEpublic final java.lang.String getContainerFieldDefault()
getContainerFieldDefault in class X3DConcreteNodepublic final void initialize()
initialize in class X3DConcreteNodepublic double getCycleInterval()
getCycleInterval in interface TimeSensorpublic TimeSensorObject setCycleInterval(double newValue)
setCycleInterval in interface TimeSensornewValue - is new value for the cycleInterval field.TimeSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TimeSensorObject setCycleInterval(SFTimeObject newValue)
setCycleInterval(double).newValue - is new value for the cycleInterval field.TimeSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public double getCycleTime()
getCycleTime in interface TimeSensorpublic double getElapsedTime()
getElapsedTime in interface TimeSensorgetElapsedTime in interface X3DTimeDependentNodepublic boolean getEnabled()
getEnabled in interface X3DSensorNodegetEnabled in interface TimeSensorpublic TimeSensorObject setEnabled(boolean newValue)
setEnabled in interface X3DSensorNodesetEnabled in interface TimeSensornewValue - is new value for the enabled field.TimeSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TimeSensorObject setEnabled(SFBoolObject newValue)
setEnabled(boolean).newValue - is new value for the enabled field.TimeSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public float getFraction()
getFraction in interface TimeSensorpublic boolean getIsActive()
getIsActive in interface X3DSensorNodegetIsActive in interface TimeSensorgetIsActive in interface X3DTimeDependentNodepublic boolean getIsPaused()
getIsPaused in interface TimeSensorgetIsPaused in interface X3DTimeDependentNodepublic boolean getLoop()
getLoop in interface TimeSensorgetLoop in interface X3DTimeDependentNodepublic TimeSensorObject setLoop(boolean newValue)
setLoop in interface TimeSensorsetLoop in interface X3DTimeDependentNodenewValue - is new value for the loop field.TimeSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TimeSensorObject setLoop(SFBoolObject newValue)
setLoop(boolean).newValue - is new value for the loop field.TimeSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public X3DMetadataObject getMetadata()
getMetadata in interface X3DChildNodegetMetadata in interface X3DNodegetMetadata in interface X3DSensorNodegetMetadata in interface TimeSensorgetMetadata in interface X3DTimeDependentNodegetMetadataProtoInstance(),
X3D Scene Authoring Hints: Metadata Nodespublic TimeSensorObject setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DChildNodesetMetadata in interface X3DNodesetMetadata in interface X3DSensorNodesetMetadata in interface TimeSensorsetMetadata in interface X3DTimeDependentNodesetMetadata in class X3DConcreteNodenewValue - is new value for the metadata field.TimeSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).setMetadata(ProtoInstanceObject),
X3D Scene Authoring Hints: Metadata Nodespublic TimeSensorObject clearMetadata()
TimeSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public TimeSensorObject setMetadata(ProtoInstanceObject newValue)
setMetadata in class X3DConcreteNodenewValue - is new value for the metadata field.TimeSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).setMetadata(X3DMetadataObject)public boolean hasMetadata()
getMetadata(),
getMetadataProtoInstance(),
X3D Scene Authoring Hints: Metadata Nodespublic double getPauseTime()
getPauseTime in interface TimeSensorgetPauseTime in interface X3DTimeDependentNodepublic TimeSensorObject setPauseTime(double newValue)
setPauseTime in interface TimeSensorsetPauseTime in interface X3DTimeDependentNodenewValue - is new value for the pauseTime field.TimeSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TimeSensorObject setPauseTime(SFTimeObject newValue)
setPauseTime(double).newValue - is new value for the pauseTime field.TimeSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public double getResumeTime()
getResumeTime in interface TimeSensorgetResumeTime in interface X3DTimeDependentNodepublic TimeSensorObject setResumeTime(double newValue)
setResumeTime in interface TimeSensorsetResumeTime in interface X3DTimeDependentNodenewValue - is new value for the resumeTime field.TimeSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TimeSensorObject setResumeTime(SFTimeObject newValue)
setResumeTime(double).newValue - is new value for the resumeTime field.TimeSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public double getStartTime()
getStartTime in interface TimeSensorgetStartTime in interface X3DTimeDependentNodepublic TimeSensorObject setStartTime(double newValue)
setStartTime in interface TimeSensorsetStartTime in interface X3DTimeDependentNodenewValue - is new value for the startTime field.TimeSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TimeSensorObject setStartTime(SFTimeObject newValue)
setStartTime(double).newValue - is new value for the startTime field.TimeSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public double getStopTime()
getStopTime in interface TimeSensorgetStopTime in interface X3DTimeDependentNodepublic TimeSensorObject setStopTime(double newValue)
setStopTime in interface TimeSensorsetStopTime in interface X3DTimeDependentNodenewValue - is new value for the stopTime field.TimeSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TimeSensorObject setStopTime(SFTimeObject newValue)
setStopTime(double).newValue - is new value for the stopTime field.TimeSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public double getTime()
getTime in interface TimeSensorpublic final TimeSensorObject setDEF(java.lang.String newValue)
setDEF in interface X3DChildNodesetDEF in interface X3DNodesetDEF in interface X3DSensorNodesetDEF in interface TimeSensorsetDEF in interface X3DTimeDependentNodesetDEF in class X3DConcreteNodenewValue - is new value for the DEF field.TimeSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TimeSensorObject setDEF(SFStringObject newValue)
setDEF(String).newValue - is new value for the DEF field.TimeSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public final TimeSensorObject setUSE(java.lang.String newValue)
USE node is still an independent object, with the USE value matching the DEF value in the preceding object.
setUSE() method on this node resets all other fields to their default values (except for containerField) and also releases all child nodes.setUSE in interface X3DChildNodesetUSE in interface X3DNodesetUSE in interface X3DSensorNodesetUSE in interface TimeSensorsetUSE in interface X3DTimeDependentNodesetUSE in class X3DConcreteNodenewValue - is new value for the USE field.TimeSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TimeSensorObject setUSE(SFStringObject newValue)
setUSE(String).newValue - is new value for the USE field.TimeSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public final TimeSensorObject setCssClass(java.lang.String newValue)
setCssClass in interface X3DChildNodesetCssClass in interface X3DNodesetCssClass in interface X3DSensorNodesetCssClass in interface TimeSensorsetCssClass in interface X3DTimeDependentNodesetCssClass in class X3DConcreteNodenewValue - is new value for the class field.TimeSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TimeSensorObject setCssClass(SFStringObject newValue)
setCssClass(String).newValue - is new value for the class field.TimeSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TimeSensorObject setIS(ISObject newValue)
setIS in class X3DConcreteNodenewValue - is new value for the description field.TimeSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public ISObject getIS()
getIS in class X3DConcreteNodepublic TimeSensorObject setUSE(TimeSensorObject DEFnode)
setUSE(String).
setUSE() method on this node resets all other fields to their default values (except for containerField) and also releases all child nodes.
DEFnode - must have a DEF value definedTimeSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TimeSensorObject addComments(java.lang.String newComment)
addComments in class X3DConcreteElementnewComment - initial valueTimeSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public TimeSensorObject addComments(java.lang.String[] newComments)
addComments in class X3DConcreteElementnewComments - array of commentsTimeSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public TimeSensorObject addComments(CommentsBlock newCommentsBlock)
addComments in class X3DConcreteElementnewCommentsBlock - block of comments to addTimeSensorObject - 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.