| Package | Description |
|---|---|
| org.eclipse.emf.ecore.resource |
Provides an API for modeling abstract
persistent resources.
|
| org.eclipse.emf.ecore.resource.impl |
Provides an implementation of the resource API.
|
| org.eclipse.emf.ecore.util |
Provides utilities.
|
| Modifier and Type | Method and Description |
|---|---|
ResourceSet |
Resource.getResourceSet()
Returns the containing resource set.
|
| Modifier and Type | Method and Description |
|---|---|
NotificationChain |
Resource.Internal.basicSetResourceSet(ResourceSet resourceSet,
NotificationChain notifications)
Sets the resource to be contained by the given resource set, and returns the notifications this produces.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ResourceSetImpl
An extensible resource set implementation.
|
| Modifier and Type | Field and Description |
|---|---|
protected ResourceSet |
ResourceImpl.resourceSet
The containing resource set.
|
protected ResourceSet |
BinaryResourceImpl.EObjectInputStream.resourceSet |
| Modifier and Type | Method and Description |
|---|---|
ResourceSet |
ResourceImpl.getResourceSet() |
| Modifier and Type | Method and Description |
|---|---|
NotificationChain |
ResourceImpl.basicSetResourceSet(ResourceSet resourceSet,
NotificationChain notifications)
Sets the new containing resource set, and removes the resource from a previous containing resource set, if necessary.
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.Collection<EStructuralFeature.Setting> |
EcoreUtil.UsageCrossReferencer.find(EObject eObjectOfInterest,
ResourceSet resourceSet)
Returns a collection of usage references from the specified content tree.
|
static java.util.Map<EObject,java.util.Collection<EStructuralFeature.Setting>> |
EcoreUtil.ExternalCrossReferencer.find(ResourceSet resourceSet)
Returns a map of all external cross references from the specified content tree.
|
static java.util.Map<EObject,java.util.Collection<EStructuralFeature.Setting>> |
EcoreUtil.ProxyCrossReferencer.find(ResourceSet resourceSet)
Returns a map of all proxy references from the specified content tree.
|
static java.util.Map<EObject,java.util.Collection<EStructuralFeature.Setting>> |
EcoreUtil.UnresolvedProxyCrossReferencer.find(ResourceSet resourceSet)
Returns a map of all unresolvable proxies from the specified content tree.
|
static java.util.Map<EObject,java.util.Collection<EStructuralFeature.Setting>> |
EcoreUtil.UsageCrossReferencer.findAll(java.util.Collection<?> eObjectsOfInterest,
ResourceSet resourceSet)
Returns a map of usage references from the specified content tree.
|
static <T> <any> |
EcoreUtil.getAllContents(ResourceSet resourceSet,
boolean resolve)
Returns a tree iterator that iterates over all the
direct resources in the resource set
and over the content tree of each. |
static <T> <any> |
EcoreUtil.getAllProperContents(ResourceSet resourceSet,
boolean resolve)
Returns a tree iterator that iterates over all the
direct resources in the resource set
and over the content tree of each,
skipping over any child object that's in a different resource from its parent. |
protected java.util.Iterator<Resource> |
EcoreUtil.ContentTreeIterator.getResourceSetChildren(ResourceSet resourceSet)
Returns an iterator over the
children of the given parent resource set. |
static boolean |
EcoreUtil.isAncestor(ResourceSet ancestorResourceSet,
EObject eObject)
Returns whether the given resource set is that of the object,
i.e., whether the object is in the
content tree of the resource set. |
static EObject |
EcoreUtil.resolve(EObject proxy,
ResourceSet resourceSet)
Returns the resolved object represented by proxy.
|
static void |
EcoreUtil.resolveAll(ResourceSet resourceSet)
Visits all proxies in the resource set and tries to resolve them.
|
boolean |
EcoreValidator.validateEResourceSet(ResourceSet eResourceSet,
DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
| Constructor and Description |
|---|
CrossReferencer(ResourceSet resourceSet)
Creates an instance for the given resource set.
|
ExternalCrossReferencer(ResourceSet resourceSet)
Creates an instance for the given resource set.
|
ProxyCrossReferencer(ResourceSet resourceSet)
Creates an instance for the given resource set.
|
UnresolvedProxyCrossReferencer(ResourceSet resourceSet)
Creates an instance for the given resource set.
|
UsageCrossReferencer(ResourceSet resourceSet)
Creates an instance for the given resource set.
|
Copyright © 2018. Licensed under the Eclipse Public License v1.0. All rights reserved.
Submit a bug or feature