public class AudioClipObject extends X3DConcreteNode implements AudioClip
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPONENT
String constant COMPONENT defines X3D component for the AudioClip element: Sound
|
static java.lang.String |
containerField_DEFAULT_VALUE
containerField describes typical field relationship of a node to its parent.
|
static java.lang.String |
DESCRIPTION_DEFAULT_VALUE
SFString field named description has default value equal to an empty string.
|
static java.lang.String |
fromField_DESCRIPTION
fromField ROUTE name for SFString field named description.
|
static java.lang.String |
fromField_DURATION_CHANGED
fromField ROUTE name for SFTime field named duration_changed.
|
static java.lang.String |
fromField_ELAPSEDTIME
fromField ROUTE name for SFTime field named elapsedTime.
|
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_PITCH
fromField ROUTE name for SFFloat field named pitch.
|
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_URL
fromField ROUTE name for MFString field named url.
|
static int |
LEVEL
Integer constant LEVEL provides default X3D Sound 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: AudioClip.
|
static double |
PAUSETIME_DEFAULT_VALUE
SFTime field named pauseTime has default value 0 (Java syntax) or 0 (XML syntax).
|
static float |
PITCH_DEFAULT_VALUE
SFFloat field named pitch has default value 1.0f (Java syntax) or 1.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_DESCRIPTION
toField ROUTE name for SFString field named description.
|
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_PITCH
toField ROUTE name for SFFloat field named pitch.
|
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.
|
static java.lang.String |
toField_URL
toField ROUTE name for MFString field named url.
|
static java.util.ArrayList<java.lang.String> |
URL_DEFAULT_VALUE
MFString field named url has default value equal to an empty list.
|
CLASS_DEFAULT_VALUE, containerField_ALTERNATE_VALUES, DEF_DEFAULT_VALUE, USE_DEFAULT_VALUEvalidationResult| Constructor and Description |
|---|
AudioClipObject()
Constructor for AudioClipObject to initialize member variables with default values.
|
AudioClipObject(java.lang.String DEFlabel)
Utility constructor that assigns DEF label after initializing member variables with default values.
|
| Modifier and Type | Method and Description |
|---|---|
AudioClipObject |
addComments(CommentsBlock newCommentsBlock)
Add CommentsBlock to contained commentsList.
|
AudioClipObject |
addComments(java.lang.String newComment)
Add comment as String to contained commentsList.
|
AudioClipObject |
addComments(java.lang.String[] newComments)
Add comments as String[] array to contained commentsList.
|
AudioClipObject |
addUrl(SFStringObject newValue)
Add singleton SFStringObject value to MFString url field.
|
AudioClipObject |
addUrl(java.lang.String newValue)
Add singleton String value to MFString url field.
|
AudioClipObject |
clearMetadata()
Utility method to clear SFNode value of metadata field.
|
AudioClipObject |
clearUrl()
Utility method to clear MFString value of url 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 AudioClip element: Sound
|
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.
|
java.lang.String |
getDescription()
Provide String value from inputOutput SFString field named description.
|
double |
getDuration()
Provide double value in seconds within allowed range of [-1,infinity) from outputOnly SFTime field named duration_changed.
|
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: AudioClip
|
java.lang.String |
getFieldType(java.lang.String fieldName)
Indicate type corresponding to given fieldName.
|
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.
|
float |
getPitch()
Provide float value within allowed range of (0,infinity) from inputOutput SFFloat field named pitch.
|
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.
|
java.lang.String[] |
getUrl()
Provide array of String results from inputOutput MFString field named url.
|
java.util.ArrayList<java.lang.String> |
getUrlList()
Utility method to get ArrayList value of MFString url field, similar to
getUrl(). |
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.
|
AudioClipObject |
setCssClass(SFStringObject newValue)
Assign typed object value to SFString cssClass field, similar to
setCssClass(String). |
AudioClipObject |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
AudioClipObject |
setDEF(SFStringObject newValue)
Assign typed object value to SFString DEF field, similar to
setDEF(String). |
AudioClipObject |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
AudioClipObject |
setDescription(SFStringObject newValue)
Assign typed object value to SFString description field, similar to
setDescription(String). |
AudioClipObject |
setDescription(java.lang.String newValue)
Assign String value to inputOutput SFString field named description.
|
AudioClipObject |
setIS(ISObject newValue)
Assign field named IS for establishing IS/connect field connections between ProtoInterface fields and internal ProtoBody nodes.
|
AudioClipObject |
setLoop(boolean newValue)
Assign boolean value to inputOutput SFBool field named loop.
|
AudioClipObject |
setLoop(SFBoolObject newValue)
Assign typed object value to SFBool loop field, similar to
setLoop(boolean). |
AudioClipObject |
setMetadata(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field metadata.
|
AudioClipObject |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
AudioClipObject |
setPauseTime(double newValue)
Assign double value in seconds to inputOutput SFTime field named pauseTime.
|
AudioClipObject |
setPauseTime(SFTimeObject newValue)
Assign typed object value to SFTime pauseTime field, similar to
setPauseTime(double). |
AudioClipObject |
setPitch(float newValue)
Assign float value within allowed range of (0,infinity) to inputOutput SFFloat field named pitch.
|
AudioClipObject |
setPitch(SFFloatObject newValue)
Assign typed object value to SFFloat pitch field, similar to
setPitch(float). |
AudioClipObject |
setResumeTime(double newValue)
Assign double value in seconds to inputOutput SFTime field named resumeTime.
|
AudioClipObject |
setResumeTime(SFTimeObject newValue)
Assign typed object value to SFTime resumeTime field, similar to
setResumeTime(double). |
AudioClipObject |
setStartTime(double newValue)
Assign double value in seconds to inputOutput SFTime field named startTime.
|
AudioClipObject |
setStartTime(SFTimeObject newValue)
Assign typed object value to SFTime startTime field, similar to
setStartTime(double). |
AudioClipObject |
setStopTime(double newValue)
Assign double value in seconds to inputOutput SFTime field named stopTime.
|
AudioClipObject |
setStopTime(SFTimeObject newValue)
Assign typed object value to SFTime stopTime field, similar to
setStopTime(double). |
AudioClipObject |
setUrl(java.util.ArrayList<java.lang.String> newValue)
Assign ArrayList value of MFString url field, similar to
setUrl(String[]). |
AudioClipObject |
setUrl(MFStringObject newValue)
Assign typed object value to MFString url field, similar to
setUrl(String[]). |
AudioClipObject |
setUrl(SFStringObject newValue)
Assign single SFString object value to MFString url field, similar to
setUrl(String[]). |
AudioClipObject |
setUrl(java.lang.String newValue)
Assign singleton String value to MFString url field, similar to
setUrl(String[]). |
AudioClipObject |
setUrl(java.lang.String[] newValue)
Assign String array to inputOutput MFString field named url.
|
AudioClipObject |
setUSE(AudioClipObject DEFnode)
Assign a USE reference to another DEF node of same node type, similar to
setUSE(String). |
AudioClipObject |
setUSE(SFStringObject newValue)
Assign typed object value to SFString USE field, similar to
setUSE(String). |
AudioClipObject |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
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 java.lang.String DESCRIPTION_DEFAULT_VALUE
public static final boolean LOOP_DEFAULT_VALUE
public static final double PAUSETIME_DEFAULT_VALUE
public static final float PITCH_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.util.ArrayList<java.lang.String> URL_DEFAULT_VALUE
public static final java.lang.String containerField_DEFAULT_VALUE
public static final java.lang.String fromField_DESCRIPTION
public static final java.lang.String toField_DESCRIPTION
public static final java.lang.String fromField_DURATION_CHANGED
public static final java.lang.String fromField_ELAPSEDTIME
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_PITCH
public static final java.lang.String toField_PITCH
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_URL
public static final java.lang.String toField_URL
public AudioClipObject()
public AudioClipObject(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 java.lang.String getDescription()
getDescription in interface AudioClipgetDescription in interface X3DSoundSourceNodepublic AudioClipObject setDescription(java.lang.String newValue)
setDescription in interface AudioClipsetDescription in interface X3DSoundSourceNodenewValue - is new value for the description field.AudioClipObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public AudioClipObject setDescription(SFStringObject newValue)
setDescription(String).newValue - is new value for the description field.AudioClipObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public double getDuration()
getDuration in interface AudioClipgetDuration in interface X3DSoundSourceNodepublic double getElapsedTime()
getElapsedTime in interface AudioClipgetElapsedTime in interface X3DSoundSourceNodegetElapsedTime in interface X3DTimeDependentNodepublic boolean getIsActive()
getIsActive in interface AudioClipgetIsActive in interface X3DSoundSourceNodegetIsActive in interface X3DTimeDependentNodepublic boolean getIsPaused()
getIsPaused in interface AudioClipgetIsPaused in interface X3DSoundSourceNodegetIsPaused in interface X3DTimeDependentNodepublic boolean getLoop()
getLoop in interface AudioClipgetLoop in interface X3DSoundSourceNodegetLoop in interface X3DTimeDependentNodepublic AudioClipObject setLoop(boolean newValue)
setLoop in interface AudioClipsetLoop in interface X3DSoundSourceNodesetLoop in interface X3DTimeDependentNodenewValue - is new value for the loop field.AudioClipObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public AudioClipObject setLoop(SFBoolObject newValue)
setLoop(boolean).newValue - is new value for the loop field.AudioClipObject - 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 AudioClipgetMetadata in interface X3DSoundSourceNodegetMetadata in interface X3DTimeDependentNodegetMetadataProtoInstance(),
X3D Scene Authoring Hints: Metadata Nodespublic AudioClipObject setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DChildNodesetMetadata in interface X3DNodesetMetadata in interface AudioClipsetMetadata in interface X3DSoundSourceNodesetMetadata in interface X3DTimeDependentNodesetMetadata in class X3DConcreteNodenewValue - is new value for the metadata field.AudioClipObject - 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 AudioClipObject clearMetadata()
AudioClipObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public AudioClipObject setMetadata(ProtoInstanceObject newValue)
setMetadata in class X3DConcreteNodenewValue - is new value for the metadata field.AudioClipObject - 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 AudioClipgetPauseTime in interface X3DSoundSourceNodegetPauseTime in interface X3DTimeDependentNodepublic AudioClipObject setPauseTime(double newValue)
setPauseTime in interface AudioClipsetPauseTime in interface X3DSoundSourceNodesetPauseTime in interface X3DTimeDependentNodenewValue - is new value for the pauseTime field.AudioClipObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public AudioClipObject setPauseTime(SFTimeObject newValue)
setPauseTime(double).newValue - is new value for the pauseTime field.AudioClipObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public float getPitch()
getPitch in interface AudioClipgetPitch in interface X3DSoundSourceNodepublic AudioClipObject setPitch(float newValue)
setPitch in interface AudioClipsetPitch in interface X3DSoundSourceNodenewValue - is new value for the pitch field.AudioClipObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public AudioClipObject setPitch(SFFloatObject newValue)
setPitch(float).newValue - is new value for the pitch field.AudioClipObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public double getResumeTime()
getResumeTime in interface AudioClipgetResumeTime in interface X3DSoundSourceNodegetResumeTime in interface X3DTimeDependentNodepublic AudioClipObject setResumeTime(double newValue)
setResumeTime in interface AudioClipsetResumeTime in interface X3DSoundSourceNodesetResumeTime in interface X3DTimeDependentNodenewValue - is new value for the resumeTime field.AudioClipObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public AudioClipObject setResumeTime(SFTimeObject newValue)
setResumeTime(double).newValue - is new value for the resumeTime field.AudioClipObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public double getStartTime()
getStartTime in interface AudioClipgetStartTime in interface X3DSoundSourceNodegetStartTime in interface X3DTimeDependentNodepublic AudioClipObject setStartTime(double newValue)
setStartTime in interface AudioClipsetStartTime in interface X3DSoundSourceNodesetStartTime in interface X3DTimeDependentNodenewValue - is new value for the startTime field.AudioClipObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public AudioClipObject setStartTime(SFTimeObject newValue)
setStartTime(double).newValue - is new value for the startTime field.AudioClipObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public double getStopTime()
getStopTime in interface AudioClipgetStopTime in interface X3DSoundSourceNodegetStopTime in interface X3DTimeDependentNodepublic AudioClipObject setStopTime(double newValue)
setStopTime in interface AudioClipsetStopTime in interface X3DSoundSourceNodesetStopTime in interface X3DTimeDependentNodenewValue - is new value for the stopTime field.AudioClipObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public AudioClipObject setStopTime(SFTimeObject newValue)
setStopTime(double).newValue - is new value for the stopTime field.AudioClipObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public java.lang.String[] getUrl()
getUrl in interface X3DUrlObjectgetUrl in interface AudioClippublic java.util.ArrayList<java.lang.String> getUrlList()
getUrl().public AudioClipObject setUrl(java.lang.String[] newValue)
setUrl in interface X3DUrlObjectsetUrl in interface AudioClipnewValue - is new value for the url field.AudioClipObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public AudioClipObject setUrl(MFStringObject newValue)
setUrl(String[]).newValue - is new value for the url field.AudioClipObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public AudioClipObject setUrl(SFStringObject newValue)
setUrl(String[]).newValue - is new value for the url field.AudioClipObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public AudioClipObject setUrl(java.lang.String newValue)
setUrl(String[]).newValue - is new value for the url field.AudioClipObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public AudioClipObject setUrl(java.util.ArrayList<java.lang.String> newValue)
setUrl(String[]).newValue - is new value for the url field.AudioClipObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public AudioClipObject clearUrl()
AudioClipObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public AudioClipObject addUrl(java.lang.String newValue)
newValue - is new value to add to the url field.AudioClipObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).MFStringObject.cleanupEnumerationValues(String)public AudioClipObject addUrl(SFStringObject newValue)
newValue - is new value to add to the url field.AudioClipObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).MFStringObject.cleanupEnumerationValues(String)public final AudioClipObject setDEF(java.lang.String newValue)
setDEF in interface X3DChildNodesetDEF in interface X3DNodesetDEF in interface AudioClipsetDEF in interface X3DSoundSourceNodesetDEF in interface X3DTimeDependentNodesetDEF in class X3DConcreteNodenewValue - is new value for the DEF field.AudioClipObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public AudioClipObject setDEF(SFStringObject newValue)
setDEF(String).newValue - is new value for the DEF field.AudioClipObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public final AudioClipObject 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 AudioClipsetUSE in interface X3DSoundSourceNodesetUSE in interface X3DTimeDependentNodesetUSE in class X3DConcreteNodenewValue - is new value for the USE field.AudioClipObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public AudioClipObject setUSE(SFStringObject newValue)
setUSE(String).newValue - is new value for the USE field.AudioClipObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public final AudioClipObject setCssClass(java.lang.String newValue)
setCssClass in interface X3DChildNodesetCssClass in interface X3DNodesetCssClass in interface AudioClipsetCssClass in interface X3DSoundSourceNodesetCssClass in interface X3DTimeDependentNodesetCssClass in class X3DConcreteNodenewValue - is new value for the class field.AudioClipObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public AudioClipObject setCssClass(SFStringObject newValue)
setCssClass(String).newValue - is new value for the class field.AudioClipObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public AudioClipObject setIS(ISObject newValue)
setIS in class X3DConcreteNodenewValue - is new value for the description field.AudioClipObject - 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 AudioClipObject setUSE(AudioClipObject 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 definedAudioClipObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public AudioClipObject addComments(java.lang.String newComment)
addComments in class X3DConcreteElementnewComment - initial valueAudioClipObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public AudioClipObject addComments(java.lang.String[] newComments)
addComments in class X3DConcreteElementnewComments - array of commentsAudioClipObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public AudioClipObject addComments(CommentsBlock newCommentsBlock)
addComments in class X3DConcreteElementnewCommentsBlock - block of comments to addAudioClipObject - 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.