These are currently used to import type systems, indexes, and type priorities, delegate analysis engine descriptors. Imports may be by location (relative URL) or name (a Java-style compound name, looked up in the classpath), but not both.
Public Member Functions | |
ImportDescription () | |
Constructor. | |
TyErrorId | setLocation (const icu::UnicodeString &aUri) |
Sets the location of this import's target. | |
const icu::UnicodeString & | getLocation () const |
Gets the location of this import's target. | |
TyErrorId | setName (const icu::UnicodeString &aname) |
a Java-style compound name which specifies the target of this import. | |
const icu::UnicodeString & | getName () const |
a Java-style compound name which specifies the target of this import. | |
const icu::UnicodeString | findAbsoluteUrl (icu::UnicodeString const &lastFilename) |
bool | isModifiable () const |
virtual void | commit () |
When this method is called on a MetaDataObject# that must not be reconfigured after the engine is created, isModifiable()# will return false and all subsequent calls to setter methods will return #UIMA_ERR_CONFIG_OBJECT_COMMITED#. | |
Protected Attributes | |
bool | iv_bIsModifiable |
|
Constructor.
|
|
Sets the location of this import's target.
|
|
Gets the location of this import's target.
|
|
a Java-style compound name which specifies the target of this import. This will be located by appending ".xml" to the name and searching the classpath. |
|
a Java-style compound name which specifies the target of this import. This will be located by appending ".xml" to the name and searching the classpath. |
|
|
|
|
|
When this method is called on a MetaDataObject# that must not be reconfigured after the engine is created, isModifiable()# will return false and all subsequent calls to setter methods will return #UIMA_ERR_CONFIG_OBJECT_COMMITED#. Subclasses of such MetaDataObjects must override this method to ensure that commit is propagated to its members. Note that configuration parameter values can be reconfigured after the engine is created. Hence, the #extractValue# methods of the #AnnotatorContext# can be called anytime. Reimplemented in uima::NameValuePair, uima::ConfigurationGroup, uima::SettingsForGroup, uima::FSIndexDescription, uima::AnalysisEngineMetaData, uima::AnalysisEngineDescription, uima::TypeDescription, and uima::TypeSystemDescription. |
|
|