org.eclipse.xtext.xtext
Class XtextResourceDescriptionStrategy

java.lang.Object
  extended by org.eclipse.xtext.resource.impl.DefaultResourceDescriptionStrategy
      extended by org.eclipse.xtext.xtext.XtextResourceDescriptionStrategy
All Implemented Interfaces:
IDefaultResourceDescriptionStrategy

public class XtextResourceDescriptionStrategy
extends DefaultResourceDescriptionStrategy

Author:
Jan Koehnlein - Initial contribution and API

Constructor Summary
XtextResourceDescriptionStrategy()
           
 
Method Summary
 boolean createEObjectDescriptions(org.eclipse.emf.ecore.EObject eObject, IAcceptor<IEObjectDescription> acceptor)
          Calculates the IEObjectDescriptions for eObject and passes them to the acceptor.
 
Methods inherited from class org.eclipse.xtext.resource.impl.DefaultResourceDescriptionStrategy
createReferenceDescription, createReferenceDescriptions, getLazyURIEncoder, getQualifiedNameProvider, isIndexable, isResolvedAndExternal, setLazyURIEncoder, setQualifiedNameProvider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XtextResourceDescriptionStrategy

public XtextResourceDescriptionStrategy()
Method Detail

createEObjectDescriptions

public boolean createEObjectDescriptions(org.eclipse.emf.ecore.EObject eObject,
                                         IAcceptor<IEObjectDescription> acceptor)
Description copied from interface: IDefaultResourceDescriptionStrategy
Calculates the IEObjectDescriptions for eObject and passes them to the acceptor.

Specified by:
createEObjectDescriptions in interface IDefaultResourceDescriptionStrategy
Overrides:
createEObjectDescriptions in class DefaultResourceDescriptionStrategy
Returns:
true if the children of eObject should be traversed.