Package groovy.lang

Core Groovy language classes for implementing data structures, closures, metadata and so forth.

See:
          Description

Interface Summary
GroovyObject The interface implemented by all Groovy objects which is handy for using Groovy objects when in the Java world
Range Represents the interface of a Range implementation which includes the from and to values
Writable Represents an object which is capable of writing itself to a text stream in a more efficient format than just creating a toString() representation of itself.
 

Class Summary
Binding Represents the variable bindings of a script which can be altered from outside the script object or created outside of a script and passed into it.
Closure Represents any closure object in Groovy.
CompilerConfig Represents the configuration details of the compiler.
GroovyClassLoader A ClassLoader which can load Groovy classes
GroovyClassLoader.ClassCollector  
GroovyObjectSupport A useful base class for Java objects wishing to be Groovy objects
GroovyShell Represents a groovy shell capable of running arbitrary groovy scripts
GString Represents a String which contains embedded values such as "hello there ${user} how are you?" which can be evaluated lazily.
IntRange Represents a list of Integer objects from a specified int up to and including a given and to.
MetaClass Allows methods to be dynamically added to existing classes at runtime
MetaClassRegistry A registery of MetaClass instances which caches introspection & reflection information and allows methods to be dynamically added to existing classes at runtime
MetaMethod Represents a Method on a Java object a little like Method except without using reflection to invoke the method
MetaProperty Represents a property on a bean which may have a getter and/or a setter
NonEmptySequence Represents a sequence of objects which represents one or many instances of of objects of a given type.
ObjectRange Represents an inclusive list of objects from a value to a value using comparators
Reference Represents a reference to a value
Script This object represents a Groovy script
Sequence Represents a sequence of objects which represents zero or many instances of of objects of a given type.
Tuple Represents a list of Integer objects from a specified int up to but not including a given and to.
 

Exception Summary
ClosureException An exception thrown by a closure invocation
GroovyRuntimeException An exception thrown by the interpreter
IncorrectClosureArgumentsException An exception occurred when invoking a Closure with the wrong number and/or types of arguments
MissingClassException An exception occurred if a dynamic method dispatch fails with an unknown class.
MissingMethodException An exception occurred if a dynamic method dispatch fails with an unknown method.
MissingPropertyException An exception occurred if a dynamic property dispatch fails with an unknown property.
ReadOnlyPropertyException This exception is thrown if an attempt is made to set a read only property
StringWriterIOException An IO exception occurred trying to append to a StringWriter which should never happen.
 

Package groovy.lang Description

Core Groovy language classes for implementing data structures, closures, metadata and so forth.



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