org.eclipse.xtext.xtend2.lib
Class ResourceSetExtensions

java.lang.Object
  extended by org.eclipse.xtext.xtend2.lib.ResourceSetExtensions

public class ResourceSetExtensions
extends java.lang.Object

This is an extension library for EMF resource sets.

Author:
Jan Koehnlein - Initial contribution and API

Constructor Summary
ResourceSetExtensions()
           
 
Method Summary
static java.lang.Iterable<org.eclipse.emf.common.notify.Notifier> allContentsIterable(org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
          Returns all the contents of the resourceSet as an Iterable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceSetExtensions

public ResourceSetExtensions()
Method Detail

allContentsIterable

public static java.lang.Iterable<org.eclipse.emf.common.notify.Notifier> allContentsIterable(org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
Returns all the contents of the resourceSet as an Iterable.

Parameters:
resourceSet - the resourceSet whose contents should be traversed. May not be null.
Returns:
an iterable that yields all the contents of the resourceSet. Never null.