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
IEObjectDescription s 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
IReferenceDescription s 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)
IDefaultResourceDescriptionStrategy
IEObjectDescription
s for eObject
and passes them to the acceptor.createEObjectDescriptions
in interface IDefaultResourceDescriptionStrategy
eObject
should be traversed.public boolean createReferenceDescriptions(org.eclipse.emf.ecore.EObject from, org.eclipse.emf.common.util.URI exportedContainerURI, IAcceptor<IReferenceDescription> acceptor)
IDefaultResourceDescriptionStrategy
IReferenceDescription
s for external cross references from eObject
and passes
them to the acceptor.createReferenceDescriptions
in interface IDefaultResourceDescriptionStrategy
eObject
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)