SmartFrog 3.10.000

org.smartfrog.sfcore.common
Class SFNull

java.lang.Object
  extended by org.smartfrog.sfcore.common.SFNull
All Implemented Interfaces:
java.io.Serializable

public final class SFNull
extends java.lang.Object
implements java.io.Serializable

Class implementing the notion of a NULL value in a component description. It is indicated by using the attribute definition with no value, such as in foo; There is exactly one instance of the NULL value, to ensure that object equality works appropriately. This is obtained using the static get() method.

See Also:
Serialized Form

Method Summary
static SFNull get()
          obtain the sole instance of the SFNull class
 java.lang.String toString()
          Print String for display
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

get

public static SFNull get()
obtain the sole instance of the SFNull class

Returns:
the instance

toString

public java.lang.String toString()
Print String for display

Overrides:
toString in class java.lang.Object
Returns:
the string "", which is the form required for the unparse

SmartFrog CORE 3.10.000

(C) Copyright 1998-2006 Hewlett-Packard Development Company, LP