<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
* Licensed to the Apache Software Foundation (ASF) under one | |
* or more contributor license agreements. See the NOTICE file | |
* distributed with this work for additional information | |
* regarding copyright ownership. The ASF licenses this file | |
* to you under the Apache License, Version 2.0 (the | |
* "License"); you may not use this file except in compliance | |
* with the License. You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, | |
* software distributed under the License is distributed on an | |
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | |
* KIND, either express or implied. See the License for the | |
* specific language governing permissions and limitations | |
* under the License. | |
--> | |
<!-- For testing only. --> | |
<taeDescription xmlns="http://uima.apache.org/resourceSpecifier"> | |
<frameworkImplementation>org.apache.uima.java</frameworkImplementation> | |
<primitive>true</primitive> | |
<annotatorImplementationName> | |
org.apache.uima.analysis_engine.impl.TestAnnotator</annotatorImplementationName> | |
<analysisEngineMetaData> | |
<name>Resource Test Primitive TAE</name> | |
<description>For testing the resource manager.</description> | |
<version>1.0</version> | |
<vendor>The Apache Software Foundation</vendor> | |
<!-- TypeSystem Definition --> | |
<typeSystemDescription> | |
<types/> | |
</typeSystemDescription> | |
<!-- Capabilities: Inputs and Outputs --> | |
<capabilities> | |
<capability></capability> | |
</capabilities> | |
</analysisEngineMetaData> | |
<externalResourceDependencies> | |
<externalResourceDependency> | |
<key>TestFileResource</key> | |
<description/> | |
</externalResourceDependency> | |
<externalResourceDependency> | |
<key>TestFileLanguageResource</key> | |
<description/> | |
</externalResourceDependency> | |
<externalResourceDependency> | |
<key>TestResourceObject</key> | |
<description/> | |
<interfaceName>org.apache.uima.resource.impl.TestResourceInterface</interfaceName> | |
</externalResourceDependency> | |
<externalResourceDependency> | |
<key>TestLanguageResourceObject</key> | |
<description/> | |
<interfaceName>org.apache.uima.resource.impl.TestResourceInterface</interfaceName> | |
</externalResourceDependency> | |
<externalResourceDependency> | |
<key>OtherFileResource</key> | |
<description/> | |
</externalResourceDependency> | |
<externalResourceDependency> | |
<key>AdditionalResource</key> | |
<description/> | |
<interfaceName>org.apache.uima.resource.impl.TestResourceInterface</interfaceName> | |
<optional>true</optional> | |
</externalResourceDependency> | |
</externalResourceDependencies> | |
<resourceManagerConfiguration> | |
<externalResources> | |
<externalResource> | |
<name>MyFileResource</name> | |
<description/> | |
<fileResourceSpecifier> | |
<fileUrl>file:testDataFile.dat</fileUrl> | |
</fileResourceSpecifier> | |
</externalResource> | |
<externalResource> | |
<name>MyFileLanguageResource</name> | |
<description/> | |
<fileLanguageResourceSpecifier> | |
<fileUrlPrefix>file:FileLanguageResource_implTest_data_</fileUrlPrefix> | |
<fileUrlSuffix>.dat</fileUrlSuffix> | |
</fileLanguageResourceSpecifier> | |
</externalResource> | |
<externalResource> | |
<name>MyResourceObject</name> | |
<description/> | |
<fileResourceSpecifier> | |
<fileUrl>file:testDataFile.dat</fileUrl> | |
</fileResourceSpecifier> | |
<implementationName> | |
org.apache.uima.resource.impl.TestResourceInterface_impl</implementationName> | |
</externalResource> | |
<externalResource> | |
<name>MyLanguageResourceObject</name> | |
<description/> | |
<fileLanguageResourceSpecifier> | |
<fileUrlPrefix>file:FileLanguageResource_implTest_data_</fileUrlPrefix> | |
<fileUrlSuffix>.dat</fileUrlSuffix> | |
</fileLanguageResourceSpecifier> | |
<implementationName> | |
org.apache.uima.resource.impl.TestResourceInterface_impl</implementationName> | |
</externalResource> | |
<externalResource> | |
<name>MyOtherFileResource</name> | |
<description/> | |
<fileResourceSpecifier> | |
<fileUrl>Test.dat</fileUrl> | |
</fileResourceSpecifier> | |
</externalResource> | |
</externalResources> | |
<externalResourceBindings> | |
<externalResourceBinding> | |
<key>TestFileResource</key> | |
<resourceName>MyFileResource</resourceName> | |
</externalResourceBinding> | |
<externalResourceBinding> | |
<key>TestFileLanguageResource</key> | |
<resourceName>MyFileLanguageResource</resourceName> | |
</externalResourceBinding> | |
<externalResourceBinding> | |
<key>TestResourceObject</key> | |
<resourceName>MyResourceObject</resourceName> | |
</externalResourceBinding> | |
<externalResourceBinding> | |
<key>TestLanguageResourceObject</key> | |
<resourceName>MyLanguageResourceObject</resourceName> | |
</externalResourceBinding> | |
<externalResourceBinding> | |
<key>OtherFileResource</key> | |
<resourceName>MyOtherFileResource</resourceName> | |
</externalResourceBinding> | |
</externalResourceBindings> | |
</resourceManagerConfiguration> | |
</taeDescription> |