Logo Search packages:      
Sourcecode: uimaj version File versions  Download package

Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Package Functions | Static Package Functions | Package Attributes | Static Package Attributes | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes

org::apache::uima::tools::jcasgen::Jg Class Reference

Collaboration diagram for org::apache::uima::tools::jcasgen::Jg:
Collaboration graph
[legend]

List of all members.

Classes

class  ErrorExit
interface  IJCasTypeTemplate

Public Member Functions

ResourceManager createResourceManager ()
void driveGui ()
ResourceBundle getResourceBundle ()
String getResourceString (String key)
String getString (String key, Object[] substitutions)
int main0 (String[] args, IMerge aMerger, IProgressMonitor aProgressMonitor, IError aError)
int main1 (String[] arguments)
void mainForCde (IMerge aMerger, IProgressMonitor aProgressMonitor, IError aError, String inputFile, String outputDirectory, TypeDescription[] tds, CASImpl aCas) throws IOException
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

Static Public Member Functions

static void main (String[] args)
static String removePkg (String name)

Public Attributes

IError error

Static Public Attributes

static final Properties casCreateProperties = new Properties()

Package Functions

 [instance initializer]
String arrayCore (String get_set, String range, String fname, String tname_Type)
String arrayLLCore (String get_set, String range, String fname)
String arrayLLCoreChk (String get_set, String range, String fname)
String castResult (String resultType, String core)
void collectImport (String casName, boolean _Type)
Collection collectImports (TypeDescription td, boolean _Type)
String getArrayFeatureValue (FeatureDescription fd, TypeDescription td)
String getDate ()
String getFeatureValue (FeatureDescription fd, TypeDescription td)
String getGetSetArrayNamePart (FeatureDescription fd)
String getGetSetNamePart (FeatureDescription fd)
String getJavaName (TypeDescription td)
String getJavaName (String name)
String getJavaName_Type (TypeDescription td)
String getJavaNameWithPkg (String casTypeName)
String getJavaPkg (TypeDescription td)
String getJavaRangeArrayElementType (FeatureDescription fd)
String getJavaRangeType (FeatureDescription fd)
String getPkg (TypeDescription td)
String getPkg (String nameWithPkg)
boolean hasArrayRange (FeatureDescription fd)
boolean hasPkgPrefix (String name)
boolean isSubTypeOfAnnotation (TypeDescription td)
String nullBlank (String s)
String sc (String v)
String setArrayFeatureValue (FeatureDescription fd, TypeDescription td)
List setDifference (FeatureDescription[] newFeatures, FeatureDescription[] alreadyDefinedFeatures)
String setFeatureValue (FeatureDescription fd, TypeDescription td)
String simpleCore (String get_set, String range, String fname, String tname_Type)
String simpleLLCore (String get_set, String range, String fname)
String uc1 (String name)
String wrapToGetFS (String core, String range)

Static Package Functions

 [static initializer]
 [static initializer]
 [static initializer]
 [static initializer]
 [static initializer]

Package Attributes

final Map _imports = new HashMap()
CAS cas
String classPath = ""
GUI gui
final Map imports = new HashMap()
IMerge merger
String packageName
IProgressMonitor progressMonitor
String simpleClassName
Waiter waiter
String xmlSourceFileName

Static Package Attributes

static Map builtInTypes = new HashMap()
static TypeSystem builtInTypeSystem
static final FeatureDescription[] emptyFds = new FeatureDescription[0]
static final Map extendableBuiltInTypes = new HashMap()
static final FeatureDescription[] featureDescriptionArray0 = new FeatureDescription[0]
static final String jControlModel = "jMergeCtl.xml"
static final Set noGenTypes = new HashSet()
static final Collection reservedFeatureNames = new ArrayList()

Private Member Functions

void generateAllTypesFromTemplates (String outputDirectory, TypeDescription[] tds, CASImpl aCas, Class jcasTypeClass, Class jcas_TypeClass) throws IOException, InstantiationException, IllegalAccessException
void generateClass (IProgressMonitor progressMonitorGenerateClass, String outputDirectory, TypeDescription td, String sourceContents, String className, IMerge mergerGenerateClass) throws IOException
void generateClassesFromTemplate (TypeDescription td, String outputDirectory, IJCasTypeTemplate jcasTypeInstance, IJCasTypeTemplate jcas_TypeInstance) throws IOException
boolean isSameFeatureDescription (FeatureDescription f1, FeatureDescription f2)
String makeMergeMessage (Map m)
TypeSystemDescription mergeTypeSystemImports (TypeSystemDescription tsd) throws ResourceInitializationException

Static Private Member Functions

static void addBuiltInTypeInfo (String casName, String javaName, String casElementName)
static void addBuiltInTypeInfo (String casName, String javaName)

Private Attributes

Type casStringType
Map mergedTypesAddingFeatures = new TreeMap()
Type tcasAnnotationType
TypeSystem typeSystem = null

Static Private Attributes

static ArrayList nonImportableJavaNames = new ArrayList(8)
static ResourceBundle resourceBundle

Detailed Description

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

Definition at line 74 of file Jg.java.


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index