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

Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes

org::apache::uima::examples::xmi::XmiEcoreCasConsumer Class Reference

Inheritance diagram for org::apache::uima::examples::xmi::XmiEcoreCasConsumer:
Inheritance graph
[legend]
Collaboration diagram for org::apache::uima::examples::xmi::XmiEcoreCasConsumer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void batchProcessComplete (ProcessTrace arg0) throws ResourceProcessException, IOException
void collectionProcessComplete (ProcessTrace arg0) throws ResourceProcessException, IOException
void destroy ()
CasManager getCasManager ()
Object getConfigParameterValue (String aParamName)
Object getConfigParameterValue (String aGroupName, String aParamName)
Logger getLogger ()
ResourceMetaData getMetaData ()
ProcessingResourceMetaData getProcessingResourceMetaData ()
ResourceManager getResourceManager ()
UimaContext getUimaContext ()
UimaContextAdmin getUimaContextAdmin ()
void initialize () throws ResourceInitializationException
boolean initialize (ResourceSpecifier aSpecifier, Map< String, Object > aAdditionalParams) throws ResourceInitializationException
final boolean isReadOnly ()
boolean isStateless ()
void processCas (CAS aCAS) throws ResourceProcessException
void processCas (CAS[] aCASes) throws ResourceProcessException
void reconfigure () throws ResourceConfigurationException
void setConfigParameterValue (String aParamName, Object aValue)
void setConfigParameterValue (String aGroupName, String aParamName, Object aValue)
void setLogger (Logger aLogger)
void typeSystemInit (TypeSystem arg0) throws ResourceInitializationException

Static Public Attributes

static final String PARAM_AGGREGATE_SOFA_MAPPINGS = "AGGREGATE_SOFA_MAPPINGS"
static final String PARAM_CONFIG_PARAM_SETTINGS = "CONFIG_PARAM_SETTINGS"
static final String PARAM_OUTPUTDIR = "OutputDirectory"
static final String PARAM_PERFORMANCE_TUNING_SETTINGS = "PERFORMANCE_TUNING_SETTINGS"
static final String PARAM_RESOURCE_MANAGER = "RESOURCE_MANAGER"
static final String PARAM_UIMA_CONTEXT = "UIMA_CONTEXT"
static final String PARAM_WRITE_ECORE_TYPESYSTEM = "WriteEcoreTypeSystem"

Protected Member Functions

void setMetaData (ResourceMetaData aMetaData)

Private Member Functions

void writeXmi (CAS aCas, File name, String modelFileName) throws IOException, SAXException

Private Attributes

boolean isModelGenerated = false
int mDocNum
File mOutputDir
Map schemaLocationMap = null
boolean writeEcoreTypeSystem

Detailed Description

A variation of the XmiWriterCasConsumer that also saves the Type System to an Ecore file and links all of the XMI files to it via their schemaLocation attribute. This allows integration with the Eclipse Modeling Framework (EMF). This class requires the EMF libraries common.jar, ecore.jar, and ecore.xmi.jar to be in the classpath.

This CAS Consumer takes two parameters:

Definition at line 65 of file XmiEcoreCasConsumer.java.


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

Generated by  Doxygen 1.6.0   Back to index