wyvern.kernel.properties
Class NullValue

java.lang.Object
  extended bywyvern.kernel.properties.NullValue
All Implemented Interfaces:
Singleton

public final class NullValue
extends java.lang.Object
implements Singleton

This object represents a "not-set" value in a plist. It's used when an object would normally inherit a property from its parent list, but you want it not to be set at all on the object. It's written out to the XML file with the value "null", so it could look like any of these:

Note: for beans, strings, and arch properties, a null value means "not there". For booleans, it's the same as being explicitly set to "false", and for numeric types, it's the same as having a value of zero.

Version:
1.0, Mar 19, 2003
Author:
Steve Yegge

Field Summary
static NullValue NULL
           
 
Method Summary
static NullValue getInstance()
           
 java.lang.String toString()
          Returns the string "null", which is used to write this value out to the XML file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NULL

public static final NullValue NULL
Method Detail

getInstance

public static final NullValue getInstance()

toString

public java.lang.String toString()
Returns the string "null", which is used to write this value out to the XML file. Don't change it.