com.caucho.quercus.env
Interface TraversableDelegate

All Known Implementing Classes:
DOMNodeListDelegate, IteratorAggregateDelegate, IteratorDelegate

public interface TraversableDelegate

A delegate that performs Iterator operations for Quercus objects.


Method Summary
 java.util.Iterator<java.util.Map.Entry<Value,Value>> getIterator(Env env, ObjectValue qThis)
          Returns an iterator over the object's <key,value> entries.
 java.util.Iterator<Value> getKeyIterator(Env env, ObjectValue qThis)
          Returns an iterator over the object's keys
 java.util.Iterator<Value> getValueIterator(Env env, ObjectValue qThis)
          Returns an iterator over the object's values.
 

Method Detail

getIterator

java.util.Iterator<java.util.Map.Entry<Value,Value>> getIterator(Env env,
                                                                 ObjectValue qThis)
Returns an iterator over the object's <key,value> entries.


getKeyIterator

java.util.Iterator<Value> getKeyIterator(Env env,
                                         ObjectValue qThis)
Returns an iterator over the object's keys


getValueIterator

java.util.Iterator<Value> getValueIterator(Env env,
                                           ObjectValue qThis)
Returns an iterator over the object's values.