public class CrossReferenceSerializer extends java.lang.Object implements ICrossReferenceSerializer
Modifier and Type | Field and Description |
---|---|
protected ITokenDiagnosticProvider |
diagnostics |
protected TokenUtil |
tokenUtil |
Constructor and Description |
---|
CrossReferenceSerializer() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getCrossReferenceNameFromScope(org.eclipse.emf.ecore.EObject semanticObject,
CrossReference crossref,
org.eclipse.emf.ecore.EObject target,
IScope scope,
ISerializationDiagnostic.Acceptor errors) |
boolean |
isValid(org.eclipse.emf.ecore.EObject semanticObject,
CrossReference crossref,
org.eclipse.emf.ecore.EObject target,
INode node,
ISerializationDiagnostic.Acceptor errors) |
java.lang.String |
serializeCrossRef(org.eclipse.emf.ecore.EObject semanticObject,
CrossReference crossref,
org.eclipse.emf.ecore.EObject target,
INode node,
ISerializationDiagnostic.Acceptor errors) |
@Inject protected ITokenDiagnosticProvider diagnostics
@Inject protected TokenUtil tokenUtil
public boolean isValid(org.eclipse.emf.ecore.EObject semanticObject, CrossReference crossref, org.eclipse.emf.ecore.EObject target, INode node, ISerializationDiagnostic.Acceptor errors)
isValid
in interface ICrossReferenceSerializer
public java.lang.String serializeCrossRef(org.eclipse.emf.ecore.EObject semanticObject, CrossReference crossref, org.eclipse.emf.ecore.EObject target, INode node, ISerializationDiagnostic.Acceptor errors)
serializeCrossRef
in interface ICrossReferenceSerializer
protected java.lang.String getCrossReferenceNameFromScope(org.eclipse.emf.ecore.EObject semanticObject, CrossReference crossref, org.eclipse.emf.ecore.EObject target, IScope scope, ISerializationDiagnostic.Acceptor errors)