|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.uima.ecore.Ecore2UimaTypeSystem
public class Ecore2UimaTypeSystem
Converts an Ecore model to a UIMA TypeSystemDescription.
| Field Summary | |
|---|---|
static String |
OPTION_CREATE_ANNOTATION_SUBTYPES
Configures the assignment of supertypes to EClasses that have no declared supertype. |
static String |
OPTION_GENERATE_UIMA_LIST_TYPES
Configures the handling of multi-valued properties in the Ecore model. |
| Constructor Summary | |
|---|---|
Ecore2UimaTypeSystem()
|
|
| Method Summary | |
|---|---|
static TypeSystemDescription |
ecore2UimaTypeSystem(String aEcoreFilePath,
Map aOptions)
Converts an Ecore model to a UIMA TypeSytemDescription. |
static void |
main(String[] args)
Main program. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String OPTION_GENERATE_UIMA_LIST_TYPES
public static final String OPTION_CREATE_ANNOTATION_SUBTYPES
| Constructor Detail |
|---|
public Ecore2UimaTypeSystem()
| Method Detail |
|---|
public static TypeSystemDescription ecore2UimaTypeSystem(String aEcoreFilePath,
Map aOptions)
throws URISyntaxException
aEcoreFilePath - file path to a .ecore model fileaOptions - a Map defining options for the conversion. Valid keys for this map are defined as
constants on this class.
URISyntaxException - if there is a problem finding or reading the .ecore file
public static void main(String[] args)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||