public class MappingProvider extends CasConfigurableProviderBase<Map<String,String>>
Modifier and Type | Field and Description |
---|---|
static String |
BASE_TYPE |
ARTIFACT_ID, GROUP_ID, LANGUAGE, LOCATION, NOT_REQUIRED, PACKAGE, PROP_REPO_ID, PROP_REPO_OFFLINE, PROP_REPO_URL, SHARABLE, VARIANT, VERSION
Constructor and Description |
---|
MappingProvider() |
Modifier and Type | Method and Description |
---|---|
void |
configure(org.apache.uima.cas.CAS aCas) |
Set<String> |
getTags() |
org.apache.uima.cas.Type |
getTagType(String aTag)
Get the type for the given tag.
|
String |
getTagTypeName(String aTag)
Get the type for the given tag.
|
protected Map<String,String> |
produceResource(URL aUrl) |
getProperties
addImport, configure, followRedirects, getAggregatedProperties, getDefault, getModelLocation, getModelLocation, getModelResolver, getModelVersionFromMavenPom, getOverride, getResource, getResourceMetaData, init, loadMetadata, loadResource, removeDefault, removeImport, removeOverride, setContextClass, setContextObject, setDefault, setDefaultVariants, setDefaultVariantsLocation, setOverride
public static final String BASE_TYPE
public void configure(org.apache.uima.cas.CAS aCas) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
configure
in class CasConfigurableProviderBase<Map<String,String>>
org.apache.uima.analysis_engine.AnalysisEngineProcessException
public org.apache.uima.cas.Type getTagType(String aTag)
aTag
- a tag.IllegalStateException
- if the type could not be locatedpublic String getTagTypeName(String aTag)
aTag
- a tag.IllegalStateException
- if the type could not be locatedprotected Map<String,String> produceResource(URL aUrl) throws IOException
produceResource
in class ResourceObjectProviderBase<Map<String,String>>
IOException
Copyright © 2011–2015. All rights reserved.