public class ValueSerializer extends java.lang.Object implements IValueSerializer
Modifier and Type | Field and Description |
---|---|
protected ITokenDiagnosticProvider |
diagnostics |
protected TokenUtil |
tokenUtil |
Constructor and Description |
---|
ValueSerializer() |
Modifier and Type | Method and Description |
---|---|
boolean |
isValid(org.eclipse.emf.ecore.EObject context,
RuleCall ruleCall,
java.lang.Object value,
ISerializationDiagnostic.Acceptor errors) |
java.lang.String |
serializeAssignedValue(org.eclipse.emf.ecore.EObject context,
RuleCall ruleCall,
java.lang.Object value,
INode node,
ISerializationDiagnostic.Acceptor errors) |
@Inject protected ITokenDiagnosticProvider diagnostics
@Inject protected TokenUtil tokenUtil
public boolean isValid(org.eclipse.emf.ecore.EObject context, RuleCall ruleCall, java.lang.Object value, ISerializationDiagnostic.Acceptor errors)
isValid
in interface IValueSerializer
public java.lang.String serializeAssignedValue(org.eclipse.emf.ecore.EObject context, RuleCall ruleCall, java.lang.Object value, INode node, ISerializationDiagnostic.Acceptor errors)
serializeAssignedValue
in interface IValueSerializer