edu.ucdenver.ccp.craft.uima.cr
Class CraftCollectionReader

java.lang.Object
  extended by org.apache.uima.resource.Resource_ImplBase
      extended by org.apache.uima.resource.ConfigurableResource_ImplBase
          extended by org.apache.uima.collection.CollectionReader_ImplBase
              extended by org.uimafit.component.JCasCollectionReader_ImplBase
                  extended by edu.ucdenver.ccp.craft.uima.cr.CraftCollectionReader
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
Direct Known Subclasses:
CcpCraftCollectionReader, UCompareCraftCollectionReader

public abstract class CraftCollectionReader
extends org.uimafit.component.JCasCollectionReader_ImplBase

This class is abstract b/c the required XMI resources are not included as a dependency for this project (the reasoning is to minimize how much XMI is downloaded by Maven as it can be quite large).

Author:
Colorado Computational Pharmacology, UC Denver; ccpsupport@ucdenver.edu

Field Summary
static java.lang.String PARAM_CONCEPTS_TO_LOAD
           
static java.lang.String PARAM_CRAFT_RELEASE
           
static java.lang.String PARAM_XMI_TYPE_SYSTEM
           
 
Fields inherited from interface org.apache.uima.resource.Resource
PARAM_AGGREGATE_SOFA_MAPPINGS, PARAM_CONFIG_PARAM_SETTINGS, PARAM_PERFORMANCE_TUNING_SETTINGS, PARAM_RESOURCE_MANAGER, PARAM_UIMA_CONTEXT
 
Constructor Summary
CraftCollectionReader()
           
 
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
 
Methods inherited from class java.lang.Object
equals, 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
 

Field Detail

PARAM_CRAFT_RELEASE

public static final java.lang.String PARAM_CRAFT_RELEASE

PARAM_XMI_TYPE_SYSTEM

public static final java.lang.String PARAM_XMI_TYPE_SYSTEM

PARAM_CONCEPTS_TO_LOAD

public static final java.lang.String PARAM_CONCEPTS_TO_LOAD
Constructor Detail

CraftCollectionReader

public CraftCollectionReader()
Method Detail

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

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

getProgress

public org.apache.uima.util.Progress[] getProgress()