Package org.apache.uima.tools.jcasgen
Class Jg
java.lang.Object
org.apache.uima.tools.jcasgen.Jg
Class holds type plugin-wide collections and static methods. Also implements the runnable that is
called to do the processing
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static interface
Interface implemeted by JCAS code generation's templates -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
driveGui()
Returns the plugin's resource bundle,getResourceString
(String key) Returns the string from the plugin's resource bundle, or 'key' if not found.static void
int
main0
(String[] args, IMerge aMerger, IProgressMonitor aProgressMonitor, IError aError) int
Arguments are: -jcasgeninput xxxx -jcasgenoutput xxxx -jcasgenclasspath xxxxvoid
mainForCde
(IMerge aMerger, IProgressMonitor aProgressMonitor, IError aError, String inputFile, String outputDirectory, TypeDescription[] tds, CASImpl aCas) void
mainForCde
(IMerge aMerger, IProgressMonitor aProgressMonitor, IError aError, String inputFile, String outputDirectory, TypeDescription[] tds, CASImpl aCas, String projectPathDir, boolean limitJCasGenToProjectScope, Map<String, Set<String>> mergedTypesAddingFeatures) void
mainGenerateAllTypesFromTemplates
(IMerge aMerger, IProgressMonitor aProgressMonitor, IError aError, String inputFile, String outputDirectory, TypeDescription[] tds, CASImpl aCas, Class jcasTypeClass, Class jcas_TypeClass) void
mainGenerateAllTypesFromTemplates
(IMerge aMerger, IProgressMonitor aProgressMonitor, IError aError, String inputFile, String outputDirectory, TypeDescription[] tds, CASImpl aCas, Class jcasTypeClass, Class jcas_TypeClass, String projectPathDir, boolean limitJCasGenToProjectScope, Map<String, Set<String>> mergedTypesAddingFeatures) static String
-
Field Details
-
casCreateProperties
-
error
-
-
Constructor Details
-
Jg
public Jg()
-
-
Method Details
-
getResourceString
Returns the string from the plugin's resource bundle, or 'key' if not found. -
getString
-
getResourceBundle
Returns the plugin's resource bundle, -
driveGui
public void driveGui() -
main
-
mainForCde
public void mainForCde(IMerge aMerger, IProgressMonitor aProgressMonitor, IError aError, String inputFile, String outputDirectory, TypeDescription[] tds, CASImpl aCas) throws IOException - Throws:
IOException
-
mainForCde
public void mainForCde(IMerge aMerger, IProgressMonitor aProgressMonitor, IError aError, String inputFile, String outputDirectory, TypeDescription[] tds, CASImpl aCas, String projectPathDir, boolean limitJCasGenToProjectScope, Map<String, Set<String>> mergedTypesAddingFeatures) throws IOException- Throws:
IOException
-
mainGenerateAllTypesFromTemplates
public void mainGenerateAllTypesFromTemplates(IMerge aMerger, IProgressMonitor aProgressMonitor, IError aError, String inputFile, String outputDirectory, TypeDescription[] tds, CASImpl aCas, Class jcasTypeClass, Class jcas_TypeClass) throws IOException, InstantiationException, IllegalAccessException -
mainGenerateAllTypesFromTemplates
public void mainGenerateAllTypesFromTemplates(IMerge aMerger, IProgressMonitor aProgressMonitor, IError aError, String inputFile, String outputDirectory, TypeDescription[] tds, CASImpl aCas, Class jcasTypeClass, Class jcas_TypeClass, String projectPathDir, boolean limitJCasGenToProjectScope, Map<String, Set<String>> mergedTypesAddingFeatures) throws IOException, InstantiationException, IllegalAccessException -
main0
-
main1
Arguments are: -jcasgeninput xxxx -jcasgenoutput xxxx -jcasgenclasspath xxxx- Parameters:
arguments
-
-
removePkg
-
createResourceManager
-