public abstract class X3DConcreteNode extends X3DConcreteElement
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_DEFAULT_VALUE
SFString field named class has default value equal to an empty string.
|
java.lang.String[] |
containerField_ALTERNATE_VALUES
containerField describes the field relationship of a node to its parent.
|
static java.lang.String |
DEF_DEFAULT_VALUE
SFString field named DEF has default value equal to an empty string.
|
static java.lang.String |
USE_DEFAULT_VALUE
SFString field named USE has default value equal to an empty string.
|
NAME, validationResult| Constructor and Description |
|---|
X3DConcreteNode() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getContainerFieldAlternateValues()
containerField describes the field relationship of a node to its parent.
|
abstract java.lang.String |
getContainerFieldDefault()
containerField describes the field relationship of a node to its parent.
|
java.lang.String |
getContainerFieldOverride()
containerField describes current field relationship of a node to its parent.
|
java.lang.String |
getCssClass()
Provide String value from inputOutput SFString field named class.
|
java.lang.String |
getDEF()
Provide String value from inputOutput SFString field named DEF.
|
abstract ISObject |
getIS()
Provide field named IS for establishing IS/connect field connections between ProtoInterface fields and internal
ProtoBody nodes.
|
java.lang.String |
getUSE()
Provide String value from inputOutput SFString field named USE.
|
void |
initialize()
Initialize all member variables to default values.
|
static boolean |
isNode()
Utility method to indicate whether this element is an X3D Graphics node (implementing X3DConcreteNode), returns true.
|
static boolean |
isStatement()
Utility method to indicate whether this element is an X3D Graphics statement (implementing X3DConcreteStatement), returns false.
|
boolean |
isUSE()
Utility method to indicate whether this element is a USE reference to another previously defined element (which means other fields must be empty).
|
void |
resetContainerFieldOverride()
containerField describes current field relationship of a node to its parent.
|
protected void |
setConcreteCssClass(java.lang.String newValue)
Protected internal superclass method to keep cssClass private, scene authors should use method setCssClass(newValue) instead.
|
protected void |
setConcreteDEF(java.lang.String newValue)
Protected internal superclass method to keep DEF private, scene authors should use method setDEF(newValue) instead.
|
protected void |
setConcreteUSE(java.lang.String newValue)
Protected internal superclass method to keep USE private, scene authors should use method setUse(newValue) instead.
|
X3DConcreteNode |
setContainerFieldOverride(java.lang.String value)
containerField describes current field relationship of a node to its parent.
|
abstract X3DConcreteNode |
setCssClass(java.lang.String cssClass)
Each concrete class must independently override this abstract method to enable object-specific method pipelining.
|
abstract X3DConcreteNode |
setDEF(java.lang.String DEFlabel)
Each concrete class must independently override this abstract method to enable object-specific method pipelining.
|
abstract X3DConcreteNode |
setIS(ISObject newValue)
Assign field named IS for establishing IS/connect field connections between ProtoInterface fields and internal
ProtoBody nodes.
|
abstract X3DConcreteNode |
setMetadata(ProtoInstanceObject newValue)
Assign X3DMetadataObject instance (using a properly typed ProtoInstanceObject) to inputOutput SFNode field metadata.
|
abstract X3DConcreteNode |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
abstract X3DConcreteNode |
setUSE(java.lang.String USEname)
Each concrete class must independently override this abstract method to enable object-specific method pipelining.
|
addComments, addComments, addComments, clearParentObject, findAncestorElementByName, findAncestorProtoBody, findAncestorSceneObject, findAncestorX3DObject, findElementByNameValue, findElementByNameValue, findNodeByDEF, getAccessType, getComponent, getComponentLevel, getElementName, getFieldType, getPackageName, getParentObject, getValidationResult, hasAncestorElementByName, hasAncestorProtoBody, hasAncestorSceneObject, hasAncestorX3DObject, setParentObject, toStringClassicVRML, toStringClassicVRML, toStringVRML97, toStringVRML97, toStringX3D, toStringX3D, validatepublic static final java.lang.String DEF_DEFAULT_VALUE
public static final java.lang.String USE_DEFAULT_VALUE
public static final java.lang.String CLASS_DEFAULT_VALUE
public java.lang.String[] containerField_ALTERNATE_VALUES
public static final boolean isNode()
X3DConcreteNode,
X3D Abstract Specification, Terms and definitions: nodepublic static final boolean isStatement()
X3DConcreteStatement,
CommentsBlock,
X3D Abstract Specification: 7.2.5 Abstract X3D structurepublic void initialize()
public java.lang.String getDEF()
public java.lang.String getUSE()
public boolean isUSE()
public java.lang.String getCssClass()
protected void setConcreteDEF(java.lang.String newValue)
newValue - is new value for the DEF field.SFStringObject.isNMTOKEN(String),
X3D Tooltips: type NMTOKEN,
X3D Regular Expressions (regexes)protected final void setConcreteUSE(java.lang.String newValue)
newValue - is new value for the USE field.SFStringObject.isNMTOKEN(String),
X3D Tooltips: type NMTOKENprotected void setConcreteCssClass(java.lang.String newValue)
newValue - is new value for the cssClass field.public abstract X3DConcreteNode setDEF(java.lang.String DEFlabel)
DEFlabel - is new value for the DEF field.X3DConcreteNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public abstract X3DConcreteNode setUSE(java.lang.String USEname)
setUSE() method on this node resets all other fields to their default values (except for containerField) and also releases all child nodes. USEname - is new value for the USE field.X3DConcreteNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public abstract X3DConcreteNode setCssClass(java.lang.String cssClass)
cssClass - is new value for the class field.X3DConcreteNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public abstract X3DConcreteNode setMetadata(X3DMetadataObject newValue)
newValue - is new value for the metadata field.X3DConcreteNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public abstract X3DConcreteNode setMetadata(ProtoInstanceObject newValue)
newValue - is new value for the metadata field.X3DConcreteNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public abstract X3DConcreteNode setIS(ISObject newValue)
newValue - is new value for the description field.public abstract ISObject getIS()
public abstract java.lang.String getContainerFieldDefault()
public java.lang.String[] getContainerFieldAlternateValues()
public java.lang.String getContainerFieldOverride()
public X3DConcreteNode setContainerFieldOverride(java.lang.String value)
value - to set containerFieldOverride, must be allowed in containerField_ALTERNATE_VALUESpublic void resetContainerFieldOverride()
Copyright ©2005-2017 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.