|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectjava.util.AbstractMap
java.util.HashMap
org.eclipse.emf.ecore.util.EcoreUtil.CrossReferencer
org.eclipse.emf.ecore.util.EcoreUtil.UnresolvedProxyCrossReferencer
A cross referencer that finds proxies that cannot be resolved.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.emf.ecore.util.EcoreUtil.CrossReferencer |
|---|
emfObjects |
| Constructor Summary | |
|---|---|
protected |
EcoreUtil.UnresolvedProxyCrossReferencer(java.util.Collection emfObjects)
Creates an instance for the given collection of objects. |
protected |
EcoreUtil.UnresolvedProxyCrossReferencer(EObject eObject)
Creates an instance for the given object. |
protected |
EcoreUtil.UnresolvedProxyCrossReferencer(Resource resource)
Creates an instance for the given resource. |
protected |
EcoreUtil.UnresolvedProxyCrossReferencer(ResourceSet resourceSet)
Creates an instance for the given resource set. |
| Method Summary | |
|---|---|
protected boolean |
crossReference(EObject eObject,
EReference eReference,
EObject crossReferencedEObject)
Return true if the specified eReference from eObject to crossReferencedEObject should be considiered a cross reference by this cross referencer. |
static java.util.Map |
find(java.util.Collection emfObjects)
Returns a map of all unresolvable proxies from the specified content tree. |
static java.util.Map |
find(EObject eObject)
Returns a map of all unresolvable proxies from the specified content tree. |
static java.util.Map |
find(Resource resource)
Returns a map of all unresolvable proxies from the specified content tree. |
static java.util.Map |
find(ResourceSet resourceSet)
Returns a map of all unresolvable proxies from the specified content tree. |
protected java.util.Map |
findUnresolvedProxyCrossReferences()
Returns the map of unresolvable proxies for this cross referencer. |
| Methods inherited from class org.eclipse.emf.ecore.util.EcoreUtil.CrossReferencer |
|---|
add, containment, crossReference, done, getCollection, getCrossReferences, handleCrossReference, newCollection, newContentsIterator, print, print, resolve, toString |
| Methods inherited from class java.util.HashMap |
|---|
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
| Methods inherited from class java.util.AbstractMap |
|---|
equals, hashCode |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Map |
|---|
equals, hashCode |
| Constructor Detail |
protected EcoreUtil.UnresolvedProxyCrossReferencer(EObject eObject)
eObject - the object to cross reference.protected EcoreUtil.UnresolvedProxyCrossReferencer(Resource resource)
resource - the resource to cross reference.protected EcoreUtil.UnresolvedProxyCrossReferencer(ResourceSet resourceSet)
resourceSet - the resource set to cross reference.protected EcoreUtil.UnresolvedProxyCrossReferencer(java.util.Collection emfObjects)
emfObjects - the collection of objects to cross reference.| Method Detail |
protected boolean crossReference(EObject eObject,
EReference eReference,
EObject crossReferencedEObject)
crossReference in class EcoreUtil.CrossReferencereObject - an object in the cross referencer's content tree.eReference - a reference from the object.crossReferencedEObject - the target of the specified reference.
protected java.util.Map findUnresolvedProxyCrossReferences()
public static java.util.Map find(EObject eObject)
eObject - an object whose content trees should be considered.
public static java.util.Map find(Resource resource)
resource - a resource whose content tree should be considered.
public static java.util.Map find(ResourceSet resourceSet)
resourceSet - a resourceSet whose content tree should be considered.
public static java.util.Map find(java.util.Collection emfObjects)
emfObjects - a collection of objects whose combined content trees should be considered.
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||