org.eclipse.xtext.nodemodel.serialization
Class SerializationConversionContext
java.lang.Object
org.eclipse.xtext.nodemodel.serialization.SerializationConversionContext
public class SerializationConversionContext
- extends java.lang.Object
- Since:
- 2.3
- Author:
- Mark Christiaens - Initial contribution
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SerializationConversionContext
public SerializationConversionContext(XtextResource resource)
getGrammarElementId
public java.lang.Integer getGrammarElementId(org.eclipse.emf.ecore.EObject grammarElement)
fillEObjectToIdMap
protected void fillEObjectToIdMap(org.eclipse.emf.ecore.resource.Resource resource)
fillGrammarElementToIdMap
protected void fillGrammarElementToIdMap(XtextResource r)
getEObjectId
public java.lang.Integer getEObjectId(org.eclipse.emf.ecore.EObject eObject)
getGrammarIdToURIMap
public java.lang.String[] getGrammarIdToURIMap()