Class SoSFName


public class SoSFName extends SoSField
Field containing a name. A field containing a name. Names are short series of characters generally used for labels or names, and are stored in a special table designed to allow fast lookup and comparison. For most purposes, an SoSFString field is probably more appropriate.

SoSFNames are written to file as a string of characters. Names must begin with an underscore or alphabetic character, and must consist entirely of underscores, alphabetic characters, or numbers.

See Also:
  • Constructor Details

  • Method Details

    • getValue

      public String getValue()
      Returns this field's value.
    • setValue

      public void setValue(String newValue)
      Sets this field to newValue.
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class SoField