public class DefaultResourceDescriptionStrategy extends java.lang.Object implements IDefaultResourceDescriptionStrategy
name feature and all cross-resource crossrefs are indexed.| Constructor and Description |
|---|
DefaultResourceDescriptionStrategy() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
createEObjectDescriptions(org.eclipse.emf.ecore.EObject eObject,
IAcceptor<IEObjectDescription> acceptor)
Calculates the
IEObjectDescriptions for eObject and passes them to the acceptor. |
protected IReferenceDescription |
createReferenceDescription(org.eclipse.emf.ecore.EObject owner,
org.eclipse.emf.common.util.URI exportedContainerURI,
org.eclipse.emf.ecore.EReference eReference,
int indexInList,
org.eclipse.emf.ecore.EObject target) |
boolean |
createReferenceDescriptions(org.eclipse.emf.ecore.EObject from,
org.eclipse.emf.common.util.URI exportedContainerURI,
IAcceptor<IReferenceDescription> acceptor)
Calculates the
IReferenceDescriptions for external cross references from eObject and passes
them to the acceptor. |
LazyURIEncoder |
getLazyURIEncoder() |
IQualifiedNameProvider |
getQualifiedNameProvider() |
protected boolean |
isIndexable(org.eclipse.emf.ecore.EReference eReference) |
protected boolean |
isResolvedAndExternal(org.eclipse.emf.ecore.EObject from,
org.eclipse.emf.ecore.EObject to) |
void |
setLazyURIEncoder(LazyURIEncoder uriEncoder) |
void |
setQualifiedNameProvider(IQualifiedNameProvider qualifiedNameProvider) |
public void setQualifiedNameProvider(IQualifiedNameProvider qualifiedNameProvider)
public IQualifiedNameProvider getQualifiedNameProvider()
public void setLazyURIEncoder(LazyURIEncoder uriEncoder)
public LazyURIEncoder getLazyURIEncoder()
public boolean createEObjectDescriptions(org.eclipse.emf.ecore.EObject eObject,
IAcceptor<IEObjectDescription> acceptor)
IDefaultResourceDescriptionStrategyIEObjectDescriptions for eObject and passes them to the acceptor.createEObjectDescriptions in interface IDefaultResourceDescriptionStrategyeObject should be traversed.public boolean createReferenceDescriptions(org.eclipse.emf.ecore.EObject from,
org.eclipse.emf.common.util.URI exportedContainerURI,
IAcceptor<IReferenceDescription> acceptor)
IDefaultResourceDescriptionStrategyIReferenceDescriptions for external cross references from eObject and passes
them to the acceptor.createReferenceDescriptions in interface IDefaultResourceDescriptionStrategyeObject should be traversed.protected IReferenceDescription createReferenceDescription(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.common.util.URI exportedContainerURI, org.eclipse.emf.ecore.EReference eReference, int indexInList, org.eclipse.emf.ecore.EObject target)
protected boolean isIndexable(org.eclipse.emf.ecore.EReference eReference)
protected boolean isResolvedAndExternal(org.eclipse.emf.ecore.EObject from,
org.eclipse.emf.ecore.EObject to)