org.eclipse.xsd.util
Class XSDUtil.URICrossReferencer

java.lang.Object
  extended byjava.util.AbstractMap
      extended byjava.util.HashMap
          extended byorg.eclipse.emf.ecore.util.EcoreUtil.CrossReferencer
              extended byorg.eclipse.xsd.util.XSDUtil.URICrossReferencer
All Implemented Interfaces:
Cloneable, Map, Serializable
Enclosing class:
XSDUtil

public static class XSDUtil.URICrossReferencer
extends EcoreUtil.CrossReferencer

A cross referencer that finds each usage of URI or collection of URIs.

See Also:
Serialized Form

Field Summary
protected  String[] uris
           
 
Fields inherited from class org.eclipse.emf.ecore.util.EcoreUtil.CrossReferencer
emfObjects
 
Constructor Summary
protected XSDUtil.URICrossReferencer(Collection emfObjects)
           
protected XSDUtil.URICrossReferencer(EObject eObject)
           
protected XSDUtil.URICrossReferencer(Resource resource)
           
protected XSDUtil.URICrossReferencer(ResourceSet resourceSet)
           
 
Method Summary
protected  boolean containment(EObject eObject)
           
protected  boolean crossReference(EObject eObject, EReference eReference, EObject crossReferencedEObject)
           
static Map find(String uri, Collection emfObjectsToSearch)
           
static Map find(String uri, EObject eObject)
           
static Map find(String uri, Resource resource)
           
static Map find(String uri, ResourceSet resourceSet)
           
static Map findAll(Collection uris, Collection emfObjectsToSearch)
           
static Map findAll(Collection uris, EObject eObject)
           
static Map findAll(Collection uris, Resource resource)
           
static Map findAll(Collection uris, ResourceSet resourceSet)
           
protected  Map findAllURI(Collection uris)
           
protected  Map findURI(String uri)
           
 
Methods inherited from class org.eclipse.emf.ecore.util.EcoreUtil.CrossReferencer
add, crossReference, done, find, 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
 

Field Detail

uris

protected String[] uris
Constructor Detail

XSDUtil.URICrossReferencer

protected XSDUtil.URICrossReferencer(EObject eObject)

XSDUtil.URICrossReferencer

protected XSDUtil.URICrossReferencer(Resource resource)

XSDUtil.URICrossReferencer

protected XSDUtil.URICrossReferencer(ResourceSet resourceSet)

XSDUtil.URICrossReferencer

protected XSDUtil.URICrossReferencer(Collection emfObjects)
Method Detail

containment

protected boolean containment(EObject eObject)

crossReference

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

findURI

protected Map findURI(String uri)

findAllURI

protected Map findAllURI(Collection uris)

find

public static Map find(String uri,
                       EObject eObject)

find

public static Map find(String uri,
                       Resource resource)

find

public static Map find(String uri,
                       ResourceSet resourceSet)

find

public static Map find(String uri,
                       Collection emfObjectsToSearch)

findAll

public static Map findAll(Collection uris,
                          EObject eObject)

findAll

public static Map findAll(Collection uris,
                          Resource resource)

findAll

public static Map findAll(Collection uris,
                          ResourceSet resourceSet)

findAll

public static Map findAll(Collection uris,
                          Collection emfObjectsToSearch)

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