de.cau.cs.kieler.core.kexpressions.formatting
Class KExpressionsValueConverter

java.lang.Object
  extended by org.eclipse.xtext.conversion.impl.AbstractValueConverterService
      extended by org.eclipse.xtext.conversion.impl.AbstractDeclarativeValueConverterService
          extended by org.eclipse.xtext.common.services.DefaultTerminalConverters
              extended by de.cau.cs.kieler.core.annotations.text.formatting.AnnotationsValueConverter
                  extended by de.cau.cs.kieler.core.kexpressions.formatting.KExpressionsValueConverter
All Implemented Interfaces:
org.eclipse.xtext.conversion.IValueConverterService
Direct Known Subclasses:
ActionsValueConverter, EsterelValueConverter

public class KExpressionsValueConverter
extends AnnotationsValueConverter

Rating red

Field Summary
 
Fields inherited from class org.eclipse.xtext.conversion.impl.AbstractDeclarativeValueConverterService
defaultTerminalConverterFactory
 
Constructor Summary
KExpressionsValueConverter()
           
 
Method Summary
 org.eclipse.xtext.conversion.IValueConverter<Boolean> Boolean()
          Standard boolean data type converter to convert standard Java style boolean strings "true" and "false" into Boolean objects and vice versa.
 org.eclipse.xtext.conversion.IValueConverter<Float> Float()
          Standard float data type converter to convert standard Java style floats.
 org.eclipse.xtext.conversion.IValueConverter<String> HOSTCODE()
          Primitive HOSTCODE data type converter providing proper serialization.
 org.eclipse.xtext.conversion.IValueConverter<Integer> INT()
          Primitive integer data type converter provider allowing negative numbers.
 
Methods inherited from class de.cau.cs.kieler.core.annotations.text.formatting.AnnotationsValueConverter
CommentAnnotation, EString, TypeId
 
Methods inherited from class org.eclipse.xtext.common.services.DefaultTerminalConverters
ID, STRING
 
Methods inherited from class org.eclipse.xtext.conversion.impl.AbstractDeclarativeValueConverterService
getConverter, getConverters, getDefaultTerminalConverterFactory, getGrammar, internalRegisterForClass, isConfigurationMethod, registerEFactoryConverters, setDefaultTerminalConverterFactory, setGrammar, toString, toValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KExpressionsValueConverter

public KExpressionsValueConverter()
Method Detail

Boolean

public org.eclipse.xtext.conversion.IValueConverter<Boolean> Boolean()
Standard boolean data type converter to convert standard Java style boolean strings "true" and "false" into Boolean objects and vice versa.

Returns:
value converter for standard Java style booleans

INT

public org.eclipse.xtext.conversion.IValueConverter<Integer> INT()
Primitive integer data type converter provider allowing negative numbers.

Overrides:
INT in class org.eclipse.xtext.common.services.DefaultTerminalConverters
Returns:
value converter for standard Java style ints

Float

public org.eclipse.xtext.conversion.IValueConverter<Float> Float()
Standard float data type converter to convert standard Java style floats.

Returns:
value converter for standard Java style floats

HOSTCODE

public org.eclipse.xtext.conversion.IValueConverter<String> HOSTCODE()
Primitive HOSTCODE data type converter providing proper serialization.

Returns:
value converter for HOSTCODE specializing STRINGValueConverter