SmartFrog 3.10.000

org.smartfrog.sfcore.languages.sf.functions
Class Ref

java.lang.Object
  extended by org.smartfrog.sfcore.languages.sf.functions.BaseFunction
      extended by org.smartfrog.sfcore.languages.sf.functions.Ref
All Implemented Interfaces:
Function

public class Ref
extends BaseFunction

Defines the unary operator not that negates its boolean parameter. The parameter attribute is "data" and an exception will be thrown if it doesn't exist or is not boolean


Field Summary
 
Fields inherited from class org.smartfrog.sfcore.languages.sf.functions.BaseFunction
context, name
 
Constructor Summary
Ref()
           
 
Method Summary
protected  java.lang.Object doFunction()
          Takes the inputs and creates a reference and resolves it if the lazy attribute is false
 
Methods inherited from class org.smartfrog.sfcore.languages.sf.functions.BaseFunction
doit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ref

public Ref()
Method Detail

doFunction

protected java.lang.Object doFunction()
                               throws SmartFrogCompileResolutionException
Takes the inputs and creates a reference and resolves it if the lazy attribute is false

Specified by:
doFunction in class BaseFunction
Returns:
Either the reference, or the resolved reference if the lazy attribute is false
Throws:
SmartFrogCompileResolutionException - if any error occurs in evalatnig the reference or resolving it

SmartFrog CORE 3.10.000

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