org.eclipse.xsd.util
Class XSDUtil.UsageCrossReferencer

java.lang.Object
  extended byEcoreUtil.UsageCrossReferencer
      extended byorg.eclipse.xsd.util.XSDUtil.UsageCrossReferencer
Enclosing class:
XSDUtil

public static class XSDUtil.UsageCrossReferencer
extends EcoreUtil.UsageCrossReferencer

A cross referencer that finds each usage of an EObject or collection of EObjects, excluding unintesting derived references.

See Also:
Serialized Form

Field Summary
protected  Collection eObjectsOfInterest
           
 
Constructor Summary
protected XSDUtil.UsageCrossReferencer(EObject eObject)
           
 
Method Summary
protected  boolean crossReference(EObject eObject, EReference eReference, EObject crossReferencedEObject)
           
static Collection find(EObject eObjectOfInterest, EObject eObject)
           
static Map findAll(Collection eObjectsOfInterest, EObject eObject)
           
protected  Map findAllUsage(Collection eObjectsOfInterest)
           
protected  Collection findUsage(EObject eObject)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

eObjectsOfInterest

protected Collection eObjectsOfInterest
Constructor Detail

XSDUtil.UsageCrossReferencer

protected XSDUtil.UsageCrossReferencer(EObject eObject)
Method Detail

crossReference

protected boolean crossReference(EObject eObject,
                                 EReference eReference,
                                 EObject crossReferencedEObject)

findUsage

protected Collection findUsage(EObject eObject)

findAllUsage

protected Map findAllUsage(Collection eObjectsOfInterest)

find

public static Collection find(EObject eObjectOfInterest,
                              EObject eObject)

findAll

public static Map findAll(Collection eObjectsOfInterest,
                          EObject eObject)

Copyright 2001-2004 IBM Corporation and others.
All Rights Reserved.