org.eclipse.ocl.examples.xtext.oclinecore.services
Class OCLinEcoreValueConverterService.EnumerationLiteralNameConverter

java.lang.Object
  extended by org.eclipse.xtext.conversion.impl.AbstractValueConverter<T>
      extended by org.eclipse.xtext.conversion.impl.AbstractNullSafeConverter<java.lang.String>
          extended by org.eclipse.ocl.examples.xtext.essentialocl.services.EssentialOCLValueConverterService.AbstractIDConverter
              extended by org.eclipse.ocl.examples.xtext.oclinecore.services.OCLinEcoreValueConverterService.EnumerationLiteralNameConverter
All Implemented Interfaces:
org.eclipse.xtext.conversion.IValueConverter<java.lang.String>
Enclosing class:
OCLinEcoreValueConverterService

protected static class OCLinEcoreValueConverterService.EnumerationLiteralNameConverter
extends EssentialOCLValueConverterService.AbstractIDConverter


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.xtext.conversion.IValueConverter
org.eclipse.xtext.conversion.IValueConverter.RuleSpecific
 
Field Summary
 
Fields inherited from interface org.eclipse.xtext.conversion.IValueConverter
NO_OP_CONVERTER
 
Constructor Summary
OCLinEcoreValueConverterService.EnumerationLiteralNameConverter(org.eclipse.xtext.Grammar grammar)
           
 
Method Summary
protected static java.util.Set<java.lang.String> computeEnumerationLiteralKeywords(org.eclipse.xtext.Grammar grammar)
           
protected  java.lang.String internalToString(java.lang.String value)
           
 
Methods inherited from class org.eclipse.ocl.examples.xtext.essentialocl.services.EssentialOCLValueConverterService.AbstractIDConverter
internalToValue
 
Methods inherited from class org.eclipse.xtext.conversion.impl.AbstractNullSafeConverter
toString, toValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OCLinEcoreValueConverterService.EnumerationLiteralNameConverter

public OCLinEcoreValueConverterService.EnumerationLiteralNameConverter(org.eclipse.xtext.Grammar grammar)
Method Detail

computeEnumerationLiteralKeywords

protected static java.util.Set<java.lang.String> computeEnumerationLiteralKeywords(org.eclipse.xtext.Grammar grammar)

internalToString

protected java.lang.String internalToString(java.lang.String value)
Specified by:
internalToString in class org.eclipse.xtext.conversion.impl.AbstractNullSafeConverter<java.lang.String>