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

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
                      extended by edu.ucdenver.ccp.craft.uima.cr.CcpCraftCollectionReader
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 CcpCraftCollectionReader
extends CraftCollectionReader

Provides a static method for instantiating a CraftCollectionReader using the CCP type system

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

Field Summary
 
Fields inherited from class edu.ucdenver.ccp.craft.uima.cr.CraftCollectionReader
PARAM_CONCEPTS_TO_LOAD, PARAM_CRAFT_RELEASE, 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
CcpCraftCollectionReader()
           
 
Method Summary
static org.apache.uima.collection.CollectionReaderDescription getDescription(CraftRelease craftRelease, java.util.Set<CraftConceptType> conceptsToLoad)
           
 
Methods inherited from class edu.ucdenver.ccp.craft.uima.cr.CraftCollectionReader
getNext, getProgress, hasNext, initialize
 
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
 

Constructor Detail

CcpCraftCollectionReader

public CcpCraftCollectionReader()
Method Detail

getDescription

public static org.apache.uima.collection.CollectionReaderDescription getDescription(CraftRelease craftRelease,
                                                                                    java.util.Set<CraftConceptType> conceptsToLoad)
                                                                             throws org.apache.uima.resource.ResourceInitializationException
Parameters:
craftRelease -
conceptsToLoad -
Returns:
an initialized CraftCollectionReader that uses the CCP typesystem
Throws:
org.apache.uima.resource.ResourceInitializationException