org.codehaus.groovy.sandbox.util
Class ElementCollection

java.lang.Object
  extended bygroovy.lang.GroovyObjectSupport
      extended byorg.codehaus.groovy.sandbox.util.ElementCollection
All Implemented Interfaces:
GroovyObject
Direct Known Subclasses:
ComplexElementCollection

abstract class ElementCollection
extends GroovyObjectSupport


Field Summary
private  int count
           
 
Fields inherited from class groovy.lang.GroovyObjectSupport
 
Constructor Summary
(package private) ElementCollection()
           
 
Method Summary
 java.lang.Object getAt(int index)
           
 java.lang.Object getProperty(java.lang.String property)
           
protected abstract  ElementCollection getResult(java.lang.String property)
           
abstract  ElementIterator iterator()
           
 int size()
           
 
Methods inherited from class groovy.lang.GroovyObjectSupport
getMetaClass, invokeMethod, setMetaClass, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

count

private int count
Constructor Detail

ElementCollection

ElementCollection()
Method Detail

iterator

public abstract ElementIterator iterator()

getProperty

public java.lang.Object getProperty(java.lang.String property)
Specified by:
getProperty in interface GroovyObject
Overrides:
getProperty in class GroovyObjectSupport

getResult

protected abstract ElementCollection getResult(java.lang.String property)

getAt

public java.lang.Object getAt(int index)

size

public int size()


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