org.eclipse.emf.codegen.jet
Class JETConstantDataGenerator

java.lang.Object
  extended byorg.eclipse.emf.codegen.jet.JETCharDataGenerator
      extended byorg.eclipse.emf.codegen.jet.JETConstantDataGenerator
All Implemented Interfaces:
JETGenerator

public class JETConstantDataGenerator
extends JETCharDataGenerator

The JETConstantDataGenerator generates constant declaration of the strings.


Field Summary
protected static String CONSTANT_DECLARATION_BEGIN
           
protected static String CONSTANT_DECLARATION_END
           
protected static String CONSTANT_DECLARATION_MIDDLE
           
protected  String label
           
 
Fields inherited from class org.eclipse.emf.codegen.jet.JETCharDataGenerator
characters, FUNCTION_CALL_BEGIN, FUNCTION_CALL_END, NEW_LINE_BEGIN, NEW_LINE_END, NEW_LINE_MIDDLE
 
Constructor Summary
JETConstantDataGenerator(char[] characters, String label)
           
 
Method Summary
 String generate()
           
 String generateConstant()
           
 
Methods inherited from class org.eclipse.emf.codegen.jet.JETCharDataGenerator
generateCharData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONSTANT_DECLARATION_BEGIN

protected static final String CONSTANT_DECLARATION_BEGIN
See Also:
Constant Field Values

CONSTANT_DECLARATION_MIDDLE

protected static final String CONSTANT_DECLARATION_MIDDLE
See Also:
Constant Field Values

CONSTANT_DECLARATION_END

protected static final String CONSTANT_DECLARATION_END
See Also:
Constant Field Values

label

protected String label
Constructor Detail

JETConstantDataGenerator

public JETConstantDataGenerator(char[] characters,
                                String label)
Method Detail

generate

public String generate()
Specified by:
generate in interface JETGenerator
Overrides:
generate in class JETCharDataGenerator

generateConstant

public String generateConstant()

Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.