org.apache.ctakes.relationextractor.eval
Class XMIReader
java.lang.Object
org.apache.uima.resource.Resource_ImplBase
org.apache.uima.resource.ConfigurableResource_ImplBase
org.apache.uima.collection.CollectionReader_ImplBase
org.uimafit.component.JCasCollectionReader_ImplBase
org.apache.ctakes.relationextractor.eval.XMIReader
- All Implemented Interfaces:
- org.apache.uima.collection.base_cpm.BaseCollectionReader, org.apache.uima.collection.CollectionReader, org.apache.uima.resource.ConfigurableResource, org.apache.uima.resource.Resource
public class XMIReader
- extends org.uimafit.component.JCasCollectionReader_ImplBase
UIMA CollectionReader that reads in CASes from XMI files.
Fields inherited from interface org.apache.uima.resource.Resource |
PARAM_AGGREGATE_SOFA_MAPPINGS, PARAM_CONFIG_MANAGER, PARAM_CONFIG_PARAM_SETTINGS, PARAM_PERFORMANCE_TUNING_SETTINGS, PARAM_RESOURCE_MANAGER, PARAM_UIMA_CONTEXT |
Method Summary |
void |
getNext(org.apache.uima.jcas.JCas jCas)
|
org.apache.uima.util.Progress[] |
getProgress()
|
boolean |
hasNext()
|
void |
initialize(org.apache.uima.UimaContext context)
|
Methods inherited from class org.uimafit.component.JCasCollectionReader_ImplBase |
close, getLogger, getNext, initialize |
Methods inherited from class org.apache.uima.collection.CollectionReader_ImplBase |
destroy, getCasInitializer, getProcessingResourceMetaData, initialize, isConsuming, reconfigure, setCasInitializer, typeSystemInit |
Methods inherited from class org.apache.uima.resource.ConfigurableResource_ImplBase |
getConfigParameterValue, getConfigParameterValue, setConfigParameterValue, setConfigParameterValue |
Methods inherited from class org.apache.uima.resource.Resource_ImplBase |
getCasManager, getMetaData, getResourceManager, getUimaContext, getUimaContextAdmin, setLogger, setMetaData |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.uima.resource.ConfigurableResource |
getConfigParameterValue, getConfigParameterValue, setConfigParameterValue, setConfigParameterValue |
Methods inherited from interface org.apache.uima.resource.Resource |
getMetaData, getResourceManager, getUimaContext, getUimaContextAdmin, setLogger |
PARAM_FILES
public static final java.lang.String PARAM_FILES
- See Also:
- Constant Field Values
XMIReader
public XMIReader()
initialize
public void initialize(org.apache.uima.UimaContext context)
throws org.apache.uima.resource.ResourceInitializationException
- Overrides:
initialize
in class org.uimafit.component.JCasCollectionReader_ImplBase
- Throws:
org.apache.uima.resource.ResourceInitializationException
getProgress
public org.apache.uima.util.Progress[] getProgress()
hasNext
public boolean hasNext()
throws java.io.IOException,
org.apache.uima.collection.CollectionException
- Throws:
java.io.IOException
org.apache.uima.collection.CollectionException
getNext
public void getNext(org.apache.uima.jcas.JCas jCas)
throws java.io.IOException,
org.apache.uima.collection.CollectionException
- Specified by:
getNext
in class org.uimafit.component.JCasCollectionReader_ImplBase
- Throws:
java.io.IOException
org.apache.uima.collection.CollectionException