Interface ICrossReferenceSerializer
-
- All Known Implementing Classes:
CrossReferenceSerializer
public interface ICrossReferenceSerializerIn the process of serializing a model to a DSL, references to model elements need to be turned into string representations which identify the targeted model element. Implementations of this interface compute this string representation. Implementations must be synchronous with the DSL's parser implementation. Implementations might introduce some kind of scoping.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisValid(org.eclipse.emf.ecore.EObject context, CrossReference crossref, org.eclipse.emf.ecore.EObject target, INode node, ISerializationDiagnostic.Acceptor errorAcceptor)java.lang.StringserializeCrossRef(org.eclipse.emf.ecore.EObject context, CrossReference crossref, org.eclipse.emf.ecore.EObject target, INode node, ISerializationDiagnostic.Acceptor errorAcceptor)
-
-
-
Method Detail
-
isValid
boolean isValid(org.eclipse.emf.ecore.EObject context, CrossReference crossref, org.eclipse.emf.ecore.EObject target, INode node, ISerializationDiagnostic.Acceptor errorAcceptor)
-
serializeCrossRef
java.lang.String serializeCrossRef(org.eclipse.emf.ecore.EObject context, CrossReference crossref, org.eclipse.emf.ecore.EObject target, INode node, ISerializationDiagnostic.Acceptor errorAcceptor)
-
-