/** Get the iterator for the given resource or null if the iterator has not been registered. */ public Resource.Iterator getIterator(Resource resource) { return iteratorMap.get(resource); }
/** Register a Resource iterator in the context. */ public void setIterator(Resource resource, Resource.Iterator iterator) { iteratorMap.put(resource, iterator); }