public class XmiCollectionReader
extends org.apache.uima.collection.CollectionReader_ImplBase
| Modifier and Type | Field and Description |
|---|---|
static String |
PARAM_FAILUNKNOWN
Name of the configuration parameter that must be set to indicate if the
execution fails if an encountered type is unknown
|
static String |
PARAM_INPUTDIR
Name of configuration parameter that must be set to the path of a directory containing the XMI
files.
|
| Constructor and Description |
|---|
XmiCollectionReader() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
getNext(org.apache.uima.cas.CAS aCAS) |
org.apache.uima.util.Progress[] |
getProgress() |
boolean |
hasNext() |
void |
initialize() |
destroy, getCasInitializer, getProcessingResourceMetaData, initialize, isConsuming, reconfigure, setCasInitializer, typeSystemInitgetConfigParameterValue, getConfigParameterValue, setConfigParameterValue, setConfigParameterValuegetCasManager, getLogger, getMetaData, getRelativePathResolver, getResourceManager, getUimaContext, getUimaContextAdmin, setLogger, setMetaDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final String PARAM_INPUTDIR
public static final String PARAM_FAILUNKNOWN
public void initialize()
throws org.apache.uima.resource.ResourceInitializationException
initialize in class org.apache.uima.collection.CollectionReader_ImplBaseorg.apache.uima.resource.ResourceInitializationExceptionCollectionReader_ImplBase.initialize()public boolean hasNext()
BaseCollectionReader.hasNext()public void getNext(org.apache.uima.cas.CAS aCAS)
throws IOException,
org.apache.uima.collection.CollectionException
IOExceptionorg.apache.uima.collection.CollectionExceptionCollectionReader.getNext(org.apache.uima.cas.CAS)public void close()
throws IOException
IOExceptionBaseCollectionReader.close()public org.apache.uima.util.Progress[] getProgress()
BaseCollectionReader.getProgress()Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.