org.eclipse.xtext.serializer.tokens
Class KeywordSerializer

java.lang.Object
  extended by org.eclipse.xtext.serializer.tokens.KeywordSerializer
All Implemented Interfaces:
IKeywordSerializer

public class KeywordSerializer
extends java.lang.Object
implements IKeywordSerializer

Author:
Moritz Eysholdt - Initial contribution and API

Constructor Summary
KeywordSerializer()
           
 
Method Summary
 boolean isValid(org.eclipse.emf.ecore.EObject context, Keyword keyword, java.lang.Object value, ISerializationDiagnostic.Acceptor errorAcceptor)
           
 java.lang.String serializeAssignedKeyword(org.eclipse.emf.ecore.EObject context, Keyword keyword, java.lang.Object value, INode node, ISerializationDiagnostic.Acceptor errorAcceptor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeywordSerializer

public KeywordSerializer()
Method Detail

isValid

public boolean isValid(org.eclipse.emf.ecore.EObject context,
                       Keyword keyword,
                       java.lang.Object value,
                       ISerializationDiagnostic.Acceptor errorAcceptor)
Specified by:
isValid in interface IKeywordSerializer

serializeAssignedKeyword

public java.lang.String serializeAssignedKeyword(org.eclipse.emf.ecore.EObject context,
                                                 Keyword keyword,
                                                 java.lang.Object value,
                                                 INode node,
                                                 ISerializationDiagnostic.Acceptor errorAcceptor)
Specified by:
serializeAssignedKeyword in interface IKeywordSerializer