org.codehaus.groovy.runtime
Class ScriptReference

java.lang.Object
  extended bygroovy.lang.GroovyObjectSupport
      extended bygroovy.lang.Reference
          extended byorg.codehaus.groovy.runtime.ScriptReference
All Implemented Interfaces:
groovy.lang.GroovyObject

public class ScriptReference
extends groovy.lang.Reference

Represents a reference to a variable in a script

Version:
$Revision: 1.1 $
Author:
James Strachan

Constructor Summary
ScriptReference(groovy.lang.Script script, String variable)
           
 
Method Summary
 Object get()
           
 void set(Object value)
           
 
Methods inherited from class groovy.lang.Reference
getProperty, invokeMethod, setProperty
 
Methods inherited from class groovy.lang.GroovyObjectSupport
getMetaClass, setMetaClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptReference

public ScriptReference(groovy.lang.Script script,
                       String variable)
Method Detail

get

public Object get()

set

public void set(Object value)


Copyright © 2003-2005 The Codehaus. All Rights Reserved.