Package org.eclipse.m2m.atl.emftvm.util
Class ResourceIterable
java.lang.Object
org.eclipse.m2m.atl.emftvm.util.ResourceIterable
- All Implemented Interfaces:
Iterable<org.eclipse.emf.ecore.EObject>
Makes the contents of a
Resource
available as an Iterable
.-
Constructor Summary
ConstructorDescriptionResourceIterable
(org.eclipse.emf.ecore.resource.Resource res) Creates a newResourceIterable
aroundres
. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
ResourceIterable
public ResourceIterable(org.eclipse.emf.ecore.resource.Resource res) Creates a newResourceIterable
aroundres
.- Parameters:
res
- the resource
-
-
Method Details