|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.sahits.codegen.java.extensions.JavaGenerator
public final class JavaGenerator
This class provides utilities to handle the extension point ch.sahits.codegen.java.generator
| Constructor Summary | |
|---|---|
JavaGenerator()
|
|
| Method Summary | |
|---|---|
static IBaseGenerator |
getGenerator(java.lang.String name)
Deprecated. Use getGenerator(String, String) instead. Will be remove with 3.0 |
static IBaseGenerator |
getGenerator(java.lang.String bundle,
java.lang.String className)
Retrieve a generator instance from the extension registry |
static java.util.Map<java.lang.String,java.lang.String> |
getGenerator4DisplaySelection()
This methods retrieves the map of generates in the form |
static IClassGeneratorExtension |
getGeneratorExtension(java.lang.String bundle,
java.lang.String className)
Retrieve an class extension generator by bundle and class name |
static java.lang.String[] |
getGenerators()
Deprecated. Use the method getGenerator4DisplaySelection() instead. This method will be removed in 3.0 |
static IGeneratorCollection |
getJavaGenerators()
Retrieve all registered jetemplates |
static java.lang.String |
getPluginIdOfContibutingPlugin(java.lang.String generatorClass)
Deprecated. with the use of getGenerator4DisplaySelection() this method is obsolete. This method will be removed with 3.0 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JavaGenerator()
| Method Detail |
|---|
public static IGeneratorCollection getJavaGenerators()
public static IClassGeneratorExtension getGeneratorExtension(java.lang.String bundle,
java.lang.String className)
bundle - bundle IDclassName - generator class name
@Deprecated public static IBaseGenerator getGenerator(java.lang.String name)
getGenerator(String, String) instead. Will be remove with 3.0
IBaseGenerator from the
extension point. If there are more than one implementation
for one and the same class registered, the first
found in the registry is choosen.
name - of the class (full name)
@Deprecated public static java.lang.String[] getGenerators()
getGenerator4DisplaySelection() instead. This method will be removed in 3.0
public static java.util.Map<java.lang.String,java.lang.String> getGenerator4DisplaySelection()
public static IBaseGenerator getGenerator(java.lang.String bundle,
java.lang.String className)
bundle - name of the bundel the generator is defined inclassName - fully qualified class name of the generator
@Deprecated public static java.lang.String getPluginIdOfContibutingPlugin(java.lang.String generatorClass)
getGenerator4DisplaySelection() this method is obsolete. This method will be removed with 3.0
generatorClass - name of the template to be looked up in the
contributing extension points
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||