Package org.eclipse.m2m.atl.emftvm.util
Class ResourceIterable
- java.lang.Object
-
- org.eclipse.m2m.atl.emftvm.util.ResourceIterable
-
- All Implemented Interfaces:
java.lang.Iterable<org.eclipse.emf.ecore.EObject>
public class ResourceIterable extends java.lang.Object implements java.lang.Iterable<org.eclipse.emf.ecore.EObject>Makes the contents of aResourceavailable as anIterable.
-
-
Constructor Summary
Constructors Constructor Description ResourceIterable(org.eclipse.emf.ecore.resource.Resource res)Creates a newResourceIterablearoundres.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Iterator<org.eclipse.emf.ecore.EObject>iterator()
-
-
-
Constructor Detail
-
ResourceIterable
public ResourceIterable(org.eclipse.emf.ecore.resource.Resource res)
Creates a newResourceIterablearoundres.- Parameters:
res- the resource
-
-