Esempio n. 1
0
 /** 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);
 }
Esempio n. 2
0
 /** Register a Resource iterator in the context. */
 public void setIterator(Resource resource, Resource.Iterator iterator) {
   iteratorMap.put(resource, iterator);
 }