Package de.julielab.jcore.reader.xml
Class XMLMultiplierReader
- java.lang.Object
-
- org.apache.uima.resource.Resource_ImplBase
-
- org.apache.uima.resource.ConfigurableResource_ImplBase
-
- org.apache.uima.collection.CollectionReader_ImplBase
-
- de.julielab.jcore.reader.xml.XMLMultiplierReader
-
- 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 XMLMultiplierReader extends org.apache.uima.collection.CollectionReader_ImplBase
-
-
Field Summary
Fields Modifier and Type Field Description static StringPARAM_FILE_NAME_REGEXstatic StringPARAM_INPUT_DIRConfiguration parameter defined in the descriptor.static StringPARAM_INPUT_FILEConfiguration parameter defined in the descriptorstatic StringPARAM_SEARCH_IN_ZIPstatic StringPARAM_SEND_CAS_TO_LAST
-
Constructor Summary
Constructors Constructor Description XMLMultiplierReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidgetNext(org.apache.uima.cas.CAS cas)org.apache.uima.util.Progress[]getProgress()booleanhasNext()voidinitialize()-
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, getLogger, getMetaData, getRelativePathResolver, getResourceManager, getUimaContext, getUimaContextAdmin, setLogger, setMetaData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Field Detail
-
PARAM_INPUT_DIR
public static final String PARAM_INPUT_DIR
Configuration parameter defined in the descriptor. Name of configuration parameter that must be set to the path of a directory containing input inputUris.- See Also:
- Constant Field Values
-
PARAM_INPUT_FILE
public static final String PARAM_INPUT_FILE
Configuration parameter defined in the descriptor- See Also:
- Constant Field Values
-
PARAM_FILE_NAME_REGEX
public static final String PARAM_FILE_NAME_REGEX
- See Also:
- Constant Field Values
-
PARAM_SEARCH_IN_ZIP
public static final String PARAM_SEARCH_IN_ZIP
- See Also:
- Constant Field Values
-
PARAM_SEND_CAS_TO_LAST
public static final String PARAM_SEND_CAS_TO_LAST
- See Also:
- Constant Field Values
-
-
Method Detail
-
initialize
public void initialize() throws org.apache.uima.resource.ResourceInitializationException- Overrides:
initializein classorg.apache.uima.collection.CollectionReader_ImplBase- Throws:
org.apache.uima.resource.ResourceInitializationException
-
getNext
public void getNext(org.apache.uima.cas.CAS cas) throws org.apache.uima.collection.CollectionException- Throws:
org.apache.uima.collection.CollectionException- See Also:
CollectionReader.getNext(CAS)
-
hasNext
public boolean hasNext()
- See Also:
BaseCollectionReader.hasNext()
-
getProgress
public org.apache.uima.util.Progress[] getProgress()
- See Also:
BaseCollectionReader.getProgress()
-
close
public void close()
- See Also:
BaseCollectionReader.close()
-
-