|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.uima.examples.xmi.Ecore2UimaTypeSystem
public class Ecore2UimaTypeSystem
Converts an Ecore model to a UIMA TypeSystemDescription.
| Field Summary | |
|---|---|
static java.lang.String |
OPTION_CREATE_ANNOTATION_SUBTYPES
Configures the assignment of supertypes to EClasses that have no declared supertype. |
static java.lang.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(Resource aEcoreResource,
java.util.Map aOptions)
Converts an Ecore model to a UIMA TypeSytemDescription. |
static TypeSystemDescription |
ecore2UimaTypeSystem(java.lang.String aEcoreFilePath,
java.util.Map aOptions)
Converts an Ecore model to a UIMA TypeSytemDescription. |
static void |
main(java.lang.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 java.lang.String OPTION_GENERATE_UIMA_LIST_TYPES
public static final java.lang.String OPTION_CREATE_ANNOTATION_SUBTYPES
| Constructor Detail |
|---|
public Ecore2UimaTypeSystem()
| Method Detail |
|---|
public static TypeSystemDescription ecore2UimaTypeSystem(java.lang.String aEcoreFilePath,
java.util.Map aOptions)
throws java.net.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.
java.net.URISyntaxException - if there is a problem finding or reading the .ecore file
public static TypeSystemDescription ecore2UimaTypeSystem(Resource aEcoreResource,
java.util.Map aOptions)
throws java.net.URISyntaxException
aEcoreResource - An EMF Resource containing the Ecore modelaOptions - a Map defining options for the conversion. Valid keys for this map are defined as
constants on this class.
java.net.URISyntaxException - if there is a problem reading from the resource
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||