vrml.field
Class SFString

java.lang.Object
  extended by vrml.Field
      extended by vrml.field.SFString
All Implemented Interfaces:
java.lang.Cloneable

public class SFString
extends Field

Represents a VRML SFString field in Java.


Constructor Summary
SFString()
          Construct a default SFString field.
SFString(java.lang.String s)
          Construct an SFString field using the given value.
 
Method Summary
 java.lang.String getValue()
          Get the value of the SFString field.
 void setValue(ConstSFString s)
          Set the value of an SFString field using an existing ConstSFString.
 void setValue(SFString s)
          Set the value of an SFString field using an existing SFString.
 void setValue(java.lang.String s)
          Set the value of an SFString field.
 
Methods inherited from class vrml.Field
clone, dispose, finalize, getPeer, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SFString

public SFString()
Construct a default SFString field.


SFString

public SFString(java.lang.String s)
Construct an SFString field using the given value.

Parameters:
s - Initial value for SFString
Method Detail

getValue

public java.lang.String getValue()
Get the value of the SFString field.

Returns:
Value of SFString.

setValue

public void setValue(java.lang.String s)
Set the value of an SFString field.

Parameters:
s - Value to set field to.

setValue

public void setValue(ConstSFString s)
Set the value of an SFString field using an existing ConstSFString.

Parameters:
s - Value to set field to.

setValue

public void setValue(SFString s)
Set the value of an SFString field using an existing SFString.

Parameters:
s - Value to set field to.