Package org.apache.uima.util
Utility classes and interfaces used by UIMA components.
-
Interface Summary Interface Description AutoCloseableNoException protectIndexes returns instances of this, rather than AutoCloseable, to permit users to use try with resources without a catch for Exception.CasPoolManagement Management interface to aCasPool
.InstrumentationFacility TheInstrumentationFacility
interface defines a standard way for UIMA components to be instrumented for performance evaluation.IteratorNvc<E> An Iterator with an extra method nextNvc, which skips the validity checkLogger ALogger
is a component used to log messages.ProcessTrace AProcessTrace
object keeps a record of events that have occurred and information, such as timing, about those events.ProcessTraceEvent Captures information, including timing, about an event that occurred during processing.Progress Progress statistics for a process.SaxDeserializer Deserializes anXMLizable
object from SAX events.Settings ASettings
object holds the properties used for external parameter overrides.TCasFormatter Interface for components that generate a String representation of a CAS.UimaTimer Interface for a timer, used to collect performance statistics for UIMA components.XMLizable An interface to be implemented by UIMA classes that can be written to and parsed from XML.XMLParser A UIMAXMLParser
parses XML documents and generates UIMA components represented by the XML. -
Class Summary Class Description AnalysisEnginePerformanceReports A class that is useful for generating an Analysis Engine performance report from aProcessTrace
object.AnalysisEngineUtils Static utility methods relating to analysis engines.CasCopier Utility class for doing deep copies of FeatureStructures from one CAS to another.CasCreationUtils Utilities for creating and setting up CASes.CasCreationUtils.MetaDataCacheEntry This class holds the processing Resource Metadata, or null if there is none, and a timestamp when the metadata was obtained.CasCreationUtils.MetaDataCacheKey Caching of getMeta info that requires producing the resource * - done because producing the resource can be very expensive * including accessing remote things on the network * Cache is cleared approximately every 30 seconds because remote resource's statuses may change * * Cache key is the ResourceSpecifier's class loaders and the ResourceManager * Both the DataPath and the uima extension class loader are used as part of the key * because differences in these could cause different metadata to be loaded *CasIOUtils A collection of static methods aimed at making it easy toCasPool This class represents a simple pool ofCAS
instances.CasToInlineXml Generates an *approximate* inline XML representation of a CAS.ConcurrentHashMapWithProducer<K,V> A concurrent map supporting a value-creating get.ConsumerCasUtils FileUtils Some utilities for handling files.IntEntry<T> like Entry<k, v> except the k is an int.JCasPool This class represents a simple pool ofJCas
instances.Level Provides the message level constants for logging and tracingLoggerPrintStream A PrintStream implementation that writes to a UIMA logger.MessageReport Misc NameClassPair A class that stores the name of an attribute and the Class of that attribute's value.ProgressImpl SimpleResourceFactory A simple implementation of aResourceFactory
.TCasToInlineXml Deprecated. As of v2.0, useCasToInlineXml
instead.TypeSystemUtil UriUtils Static methods supporting proper handling of URIsXmlCasDeserializer Deserializes a CAS from a standoff-XML format.XmlCasDeserializer.XmlCasDeserializerHandler XmlCasSerializer Serializes a CAS to inline XML format.XMLInputSource An input source used by theXMLParser
to read XML documents for parsing.XMLParser.ParsingOptions Option settings for the parser.XMLSerializer Utility class that generates XML output from SAX events or DOM nodes. -
Enum Summary Enum Description CasLoadMode Used with CasIOUtils, maybe elsewhere, to indicate how CASes are to be loaded or saved. -
Exception Summary Exception Description InvalidXMLException Thrown by theXMLParser
to indicate that an XML document is invalid or does not specify a valid object of the desired class.