org.apache.uima.tools.jcasgen
Class Jg

java.lang.Object
  extended by org.apache.uima.tools.jcasgen.Jg

public class Jg
extends java.lang.Object

Class holds type plugin-wide collections and static methods. Also implements the runnable that is called to do the processing


Nested Class Summary
static class Jg.ErrorExit
           
static interface Jg.IJCasTypeTemplate
          Interface implemeted by JCAS code generation's templates
 
Field Summary
static java.util.Properties casCreateProperties
           
 IError error
           
 
Constructor Summary
Jg()
           
 
Method Summary
 ResourceManager createResourceManager()
           
 void driveGui()
           
 java.util.ResourceBundle getResourceBundle()
          Returns the plugin's resource bundle,
 java.lang.String getResourceString(java.lang.String key)
          Returns the string from the plugin's resource bundle, or 'key' if not found.
 java.lang.String getString(java.lang.String key, java.lang.Object[] substitutions)
           
static void main(java.lang.String[] args)
           
 int main0(java.lang.String[] args, IMerge aMerger, IProgressMonitor aProgressMonitor, IError aError)
           
 int main1(java.lang.String[] arguments)
           
 void mainForCde(IMerge aMerger, IProgressMonitor aProgressMonitor, IError aError, java.lang.String inputFile, java.lang.String outputDirectory, TypeDescription[] tds, CASImpl aCas)
           
 void mainGenerateAllTypesFromTemplates(IMerge aMerger, IProgressMonitor aProgressMonitor, IError aError, java.lang.String inputFile, java.lang.String outputDirectory, TypeDescription[] tds, CASImpl aCas, java.lang.Class jcasTypeClass, java.lang.Class jcas_TypeClass)
           
static java.lang.String removePkg(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

casCreateProperties

public static final java.util.Properties casCreateProperties

error

public IError error
Constructor Detail

Jg

public Jg()
Method Detail

getResourceString

public java.lang.String getResourceString(java.lang.String key)
Returns the string from the plugin's resource bundle, or 'key' if not found.


getString

public java.lang.String getString(java.lang.String key,
                                  java.lang.Object[] substitutions)

getResourceBundle

public java.util.ResourceBundle getResourceBundle()
Returns the plugin's resource bundle,


driveGui

public void driveGui()

main

public static void main(java.lang.String[] args)

mainForCde

public void mainForCde(IMerge aMerger,
                       IProgressMonitor aProgressMonitor,
                       IError aError,
                       java.lang.String inputFile,
                       java.lang.String outputDirectory,
                       TypeDescription[] tds,
                       CASImpl aCas)
                throws java.io.IOException
Throws:
java.io.IOException

mainGenerateAllTypesFromTemplates

public void mainGenerateAllTypesFromTemplates(IMerge aMerger,
                                              IProgressMonitor aProgressMonitor,
                                              IError aError,
                                              java.lang.String inputFile,
                                              java.lang.String outputDirectory,
                                              TypeDescription[] tds,
                                              CASImpl aCas,
                                              java.lang.Class jcasTypeClass,
                                              java.lang.Class jcas_TypeClass)
                                       throws java.io.IOException,
                                              java.lang.InstantiationException,
                                              java.lang.IllegalAccessException
Throws:
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException

main0

public int main0(java.lang.String[] args,
                 IMerge aMerger,
                 IProgressMonitor aProgressMonitor,
                 IError aError)

main1

public int main1(java.lang.String[] arguments)

removePkg

public static java.lang.String removePkg(java.lang.String name)

createResourceManager

public ResourceManager createResourceManager()


Copyright © 2011. All Rights Reserved.