Package | Description |
---|---|
org.apache.uima.analysis_component | |
org.apache.uima.analysis_engine |
The Analysis Engine interface, along with supporting
interfaces and exception classes.
|
org.apache.uima.analysis_engine.annotator |
The Annotator Interfaces, along with supporting interfaces
and exception classes.
|
org.apache.uima.cas |
Common Analysis System (CAS) Interfaces.
|
org.apache.uima.cas.admin | |
org.apache.uima.cas.impl |
Implementation and Low-Level API for the CAS Interfaces.
|
org.apache.uima.collection |
Classes and interfaces for collection processing.
|
org.apache.uima.collection.base_cpm | |
org.apache.uima.flow | |
org.apache.uima.jcas |
Interfaces for accessing the JCAS.
|
org.apache.uima.json | |
org.apache.uima.uimacpp | |
org.apache.uima.util |
Utility classes and interfaces used by UIMA components.
|
Modifier and Type | Method and Description |
---|---|
void |
CasAnnotator_ImplBase.typeSystemInit(TypeSystem aTypeSystem)
Informs this annotator that the CAS TypeSystem has changed.
|
void |
CasMultiplier_ImplBase.typeSystemInit(TypeSystem aTypeSystem)
Informs this annotator that the CAS TypeSystem has changed.
|
Modifier and Type | Method and Description |
---|---|
TypeSystem |
ResultSpecification.getTypeSystem()
get the type system associated with this result specification.
|
Modifier and Type | Method and Description |
---|---|
void |
ResultSpecification.compile(TypeSystem aTypeSystem)
Deprecated.
as of 2.2.2 Now called automatically internally when needed
|
ResultSpecification |
AnalysisEngine.createResultSpecification(TypeSystem aTypeSystem)
A factory method used to create an instance of
ResultSpecification for use with this
AnalysisEngine. |
void |
ResultSpecification.setTypeSystem(TypeSystem ts)
set the type system associated with this result specification.
|
Modifier and Type | Method and Description |
---|---|
protected TypeSystem |
Annotator_ImplBase.getTypeSystem()
Deprecated.
Gets the
TypeSystem that was passed to the most recent call to
Annotator_ImplBase.typeSystemInit(TypeSystem) . |
Modifier and Type | Method and Description |
---|---|
void |
Annotator_ImplBase.typeSystemInit(TypeSystem aTypeSystem)
Deprecated.
The only thing this implementation does is store the TypeSystem so that it can be accessed by
the
Annotator_ImplBase.getTypeSystem() method, and also so that it can be passed back to the
Annotator_ImplBase.typeSystemInit(TypeSystem) method by the default implementation of
Annotator_ImplBase.reconfigure() . |
void |
BaseAnnotator.typeSystemInit(TypeSystem aTypeSystem)
Informs this annotator that the CAS TypeSystem has changed.
|
Modifier and Type | Method and Description |
---|---|
TypeSystem |
CAS.getTypeSystem()
Return the type system of this CAS instance.
|
Modifier and Type | Interface and Description |
---|---|
interface |
TypeSystemMgr
Writable version of type system.
|
Modifier and Type | Method and Description |
---|---|
static CASMgr |
CASFactory.createCAS(int initialHeapSize,
TypeSystem ts)
Create a new CASMgr object from a give type system.
|
static CASMgr |
CASFactory.createCAS(int initialHeapSize,
TypeSystem ts,
boolean useJcasCache) |
static CASMgr |
CASFactory.createCAS(TypeSystem ts)
Create a new CASMgr object from a give type system.
|
static CASMgr |
CASFactory.createCAS(TypeSystem ts,
boolean useJcasCache) |
Modifier and Type | Method and Description |
---|---|
static org.apache.uima.cas.impl.BinaryCasSerDes6 |
Serialization.deserializeCAS(CAS cas,
InputStream istream,
TypeSystem tgtTypeSystem,
org.apache.uima.cas.impl.BinaryCasSerDes6.ReuseInfo reuseInfo)
Deserialize a CAS, in various binary formats, into an existing CAS
Note: this form supports deserializing the following binary representations:
- compressed, type filtering (form 6), delta and not-delta.
|
static org.apache.uima.cas.impl.BinaryCasSerDes6 |
Serialization.deserializeCAS(CAS cas,
InputStream istream,
TypeSystem tgtTypeSystem,
org.apache.uima.cas.impl.BinaryCasSerDes6.ReuseInfo reuseInfo,
org.apache.uima.cas.impl.AllowPreexistingFS allowPreexisting)
Deserialize a CAS, in various binary formats, into an existing CAS
Note: this form supports deserializing the following binary representations:
- compressed, type filtering (form 6), delta and not-delta.
|
static void |
XmiCasSerializer.serialize(CAS aCAS,
TypeSystem aTargetTypeSystem,
OutputStream aStream)
Serializes a CAS to an XMI stream.
|
static void |
XmiCasSerializer.serialize(CAS aCAS,
TypeSystem aTargetTypeSystem,
OutputStream aStream,
boolean aPrettyPrint,
XmiSerializationSharedData aSharedData)
Serializes a CAS to an XMI stream.
|
static void |
XmiCasSerializer.serialize(CAS aCAS,
TypeSystem aTargetTypeSystem,
OutputStream aStream,
boolean aPrettyPrint,
XmiSerializationSharedData aSharedData,
Marker aMarker)
Serializes a Delta CAS to an XMI stream.
|
static org.apache.uima.cas.impl.BinaryCasSerDes6.ReuseInfo |
Serialization.serializeWithCompression(CAS cas,
Object out,
TypeSystem tgtTypeSystem)
Serialize in compressed binary with type filtering
This method can use type filtering to omit sending those types and/or features not present in the target type system.
|
static void |
Serialization.serializeWithCompression(CAS cas,
Object out,
TypeSystem tgtTypeSystem,
Marker mark,
org.apache.uima.cas.impl.BinaryCasSerDes6.ReuseInfo reuseInfo)
Delta Serialize in compressed form, with type filtering
This method can use type filtering to omit sending those types and/or features not present in the target type system.
|
Constructor and Description |
---|
XCASDeserializer(TypeSystem ts) |
XCASDeserializer(TypeSystem ts,
UimaContext uimaContext)
Create a new deserializer from a type system.
|
XCASSerializer(TypeSystem ts) |
XCASSerializer(TypeSystem ts,
UimaContext uimaContext) |
XmiCasDeserializer(TypeSystem ts) |
XmiCasDeserializer(TypeSystem ts,
UimaContext uimaContext)
Create a new deserializer from a type system.
|
XmiCasSerializer(TypeSystem ts)
Creates a new XmiCasSerializer.
|
XmiCasSerializer(TypeSystem ts,
Map<String,String> nsUriToSchemaLocationMap)
Creates a new XmiCasSerializer.
|
XmiCasSerializer(TypeSystem ts,
Map<String,String> nsUriToSchemaLocationMap,
boolean isFormattedOutput)
Creates a new XmiCasSerializer
|
XmiCasSerializer(TypeSystem ts,
UimaContext uimaContext)
Deprecated.
Use
XmiCasSerializer.XmiCasSerializer(TypeSystem) instead. The UimaContext reference is
never used by this implementation. |
XmiCasSerializer(TypeSystem ts,
UimaContext uimaContext,
Map<String,String> nsUriToSchemaLocationMap)
Deprecated.
Use
XmiCasSerializer.XmiCasSerializer(TypeSystem, Map) instead. The UimaContext reference
is never used by this implementation. |
Modifier and Type | Method and Description |
---|---|
void |
CasConsumer_ImplBase.typeSystemInit(TypeSystem arg0) |
void |
CasInitializer.typeSystemInit(TypeSystem aTypeSystem)
Deprecated.
Informs this CasInitializer that the CAS TypeSystem has changed.
|
void |
CasInitializer_ImplBase.typeSystemInit(TypeSystem arg0)
Deprecated.
|
void |
CollectionReader.typeSystemInit(TypeSystem aTypeSystem)
Informs this CollectionReader that the CAS TypeSystem has changed.
|
void |
CollectionReader_ImplBase.typeSystemInit(TypeSystem aTypeSystem)
Default implementation of typeSystemInit, which calls the CAS Initializer's typeSystemInit
method if a CAS Initializer is present.
|
Modifier and Type | Method and Description |
---|---|
void |
CasObjectProcessor.typeSystemInit(TypeSystem aTypeSystem)
Informs this CasConsumer that the CAS TypeSystem has changed.
|
Modifier and Type | Method and Description |
---|---|
void |
CasFlowController_ImplBase.typeSystemInit(TypeSystem aTypeSystem)
This method may be overriden by subclasses.
|
Modifier and Type | Method and Description |
---|---|
TypeSystem |
JCas.getTypeSystem()
Return the type system of this CAS instance.
|
Modifier and Type | Method and Description |
---|---|
static void |
JsonCasSerializer.jsonSerialize(CAS aCAS,
TypeSystem aTargetTypeSystem,
Object output)
Serializes a CAS to an output (File, OutputStream, XMI stream, or Writer).
|
static void |
JsonCasSerializer.jsonSerialize(CAS aCAS,
TypeSystem aTargetTypeSystem,
Object output,
boolean aPrettyPrint,
Marker aMarker,
XmiSerializationSharedData sharedData)
Serializes a Delta CAS to an output (File, Writer, or OutputStream).
|
Modifier and Type | Method and Description |
---|---|
void |
UimacppAnalysisComponent.typeSystemInit(TypeSystem ts) |
Modifier and Type | Method and Description |
---|---|
static CAS |
CasCreationUtils.createCas(CasDefinition casDef,
Properties performanceTuningSettings,
TypeSystem typeSystem)
Create a CAS from a CAS Definition, but reuse the provided TypeSystem object.
|
static CAS |
CasCreationUtils.createCas(Collection<? extends MetaDataObject> aComponentDescriptionsOrMetaData,
TypeSystem aTypeSystem,
Properties aPerformanceTuningSettings)
Creates a new CAS instance for a collection of CAS Processors, which.
|
static CAS |
CasCreationUtils.createCas(Collection<? extends MetaDataObject> aComponentDescriptionsOrMetaData,
TypeSystem aTypeSystem,
Properties aPerformanceTuningSettings,
ResourceManager aResourceManager)
Creates a new CAS instance for a collection of CAS Processors, which.
|
static CAS |
CasCreationUtils.createCas(TypeSystem aTypeSystem,
TypePriorities aTypePriorities,
FsIndexDescription[] aFsIndexes,
Properties aPerformanceTuningSettings)
Creates a new CAS instance that reuses an existing type system.
|
static CAS |
CasCreationUtils.createCas(TypeSystem aTypeSystem,
TypePriorities aTypePriorities,
FsIndexDescription[] aFsIndexes,
Properties aPerformanceTuningSettings,
ResourceManager aResourceManager)
Creates a new CAS instance that reuses an existing type system.
|
static String[] |
TypeSystemUtil.getAllowedValuesForType(Type aType,
TypeSystem aTypeSystem)
Gets the allowed values for a string subtype.
|
static SerialFormat |
CasIOUtils.load(InputStream casInputStream,
CAS aCAS,
TypeSystem typeSystem)
This load variant can be used for loading Form 6 compressed CASes where the
type system to use to deserialize is provided as an argument.
|
static void |
XmlCasSerializer.serialize(CAS aCAS,
TypeSystem aTargetTypeSystem,
OutputStream aStream)
Serializes a CAS to XMI format and writes it to an output stream.
|
static TypeDescription |
TypeSystemUtil.type2TypeDescription(Type aType,
TypeSystem aTypeSystem)
Convert a
Type to an equivalent TypeDescription . |
static TypeSystemDescription |
TypeSystemUtil.typeSystem2TypeSystemDescription(TypeSystem aTypeSystem)
Convert a
TypeSystem to an equivalent TypeSystemDescription . |
Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.