public class XmlReader
extends org.apache.uima.fit.component.CasCollectionReader_ImplBase
Modifier and Type | Field and Description |
---|---|
static String |
PARAM_COLLECTION_ID
The collection ID to set in the
DocumentMetaData . |
static String |
PARAM_DOC_ID_TAG
tag which contains the docId
|
static String |
PARAM_EXCLUDE_TAG
optional, tags those should not be worked on.
|
static String |
PARAM_INCLUDE_TAG
optional, tags those should be worked on (if empty, then all tags
except those ExcludeTags will be worked on)
|
static String |
PARAM_LANGUAGE
Set this as the language of the produced documents.
|
static String |
PARAM_SOURCE_LOCATION
Location from which the input is read.
|
Constructor and Description |
---|
XmlReader() |
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(org.apache.uima.UimaContext aContext) |
getLogger, initialize
destroy, getCasInitializer, getProcessingResourceMetaData, initialize, isConsuming, reconfigure, setCasInitializer, typeSystemInit
getConfigParameterValue, getConfigParameterValue, setConfigParameterValue, setConfigParameterValue
getCasManager, getMetaData, getRelativePathResolver, getResourceManager, getUimaContext, getUimaContextAdmin, setLogger, setMetaData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final String PARAM_SOURCE_LOCATION
public static final String PARAM_LANGUAGE
public static final String PARAM_INCLUDE_TAG
public static final String PARAM_EXCLUDE_TAG
public static final String PARAM_DOC_ID_TAG
public static final String PARAM_COLLECTION_ID
DocumentMetaData
.public void initialize(org.apache.uima.UimaContext aContext) throws org.apache.uima.resource.ResourceInitializationException
initialize
in class org.apache.uima.fit.component.CasCollectionReader_ImplBase
org.apache.uima.resource.ResourceInitializationException
public void getNext(org.apache.uima.cas.CAS aCAS) throws IOException, org.apache.uima.collection.CollectionException
IOException
org.apache.uima.collection.CollectionException
public org.apache.uima.util.Progress[] getProgress()
public boolean hasNext() throws IOException, org.apache.uima.collection.CollectionException
IOException
org.apache.uima.collection.CollectionException
public void close() throws IOException
close
in interface org.apache.uima.collection.base_cpm.BaseCollectionReader
close
in class org.apache.uima.fit.component.CasCollectionReader_ImplBase
IOException
Copyright © 2007–2018 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.