org.eclipse.emf.codegen.jet
Class JETConstantDataGenerator
java.lang.Object
org.eclipse.emf.codegen.jet.JETCharDataGenerator
org.eclipse.emf.codegen.jet.JETConstantDataGenerator
- All Implemented Interfaces:
- JETGenerator
public class JETConstantDataGenerator
- extends JETCharDataGenerator
The JETConstantDataGenerator generates constant declaration of the strings.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONSTANT_DECLARATION_BEGIN
protected static final java.lang.String CONSTANT_DECLARATION_BEGIN
- See Also:
- Constant Field Values
CONSTANT_DECLARATION_MIDDLE
protected static final java.lang.String CONSTANT_DECLARATION_MIDDLE
- See Also:
- Constant Field Values
CONSTANT_DECLARATION_END
protected static final java.lang.String CONSTANT_DECLARATION_END
- See Also:
- Constant Field Values
label
protected java.lang.String label
JETConstantDataGenerator
public JETConstantDataGenerator(char[] characters,
java.lang.String label)
generate
public java.lang.String generate()
- Specified by:
generate
in interface JETGenerator
- Overrides:
generate
in class JETCharDataGenerator
generateConstant
public java.lang.String generateConstant()