| <?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. |
| --> |
| |
| <!-- Descriptor for testing configuration groups. --> |
| |
| <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>Annotator With Duplicate Configuration Groups</name> |
| <description>For testing configuration groups. Has multiple definitions of same group name |
| which should be allowed.</description> |
| <version>1.0</version> |
| <vendor>The Apache Software Foundation</vendor> |
| |
| <!-- Configuration Parameter Definitions --> |
| <configurationParameters defaultGroup="a" searchStrategy="none"> |
| |
| <commonParameters> |
| <configurationParameter> |
| <name>CommonParam</name> |
| <description/> |
| <type>String</type> |
| </configurationParameter> |
| </commonParameters> |
| |
| <configurationGroup names="a b"> |
| <configurationParameter> |
| <name>ABParam</name> |
| <description/> |
| <type>String</type> |
| </configurationParameter> |
| </configurationGroup> |
| |
| <configurationGroup names="b c"> |
| <configurationParameter> |
| <name>BCParam</name> |
| <description/> |
| <type>String</type> |
| </configurationParameter> |
| </configurationGroup> |
| |
| </configurationParameters> |
| |
| <!-- Values for the configuration parameters --> |
| <configurationParameterSettings> |
| |
| <settingsForGroup name="a"> |
| <nameValuePair> |
| <name>CommonParam</name> |
| <value><string>common-a</string></value> |
| </nameValuePair> |
| <nameValuePair> |
| <name>ABParam</name> |
| <value><string>ab-a</string></value> |
| </nameValuePair> |
| </settingsForGroup> |
| |
| <settingsForGroup name="b"> |
| <nameValuePair> |
| <name>CommonParam</name> |
| <value><string>common-b</string></value> |
| </nameValuePair> |
| <nameValuePair> |
| <name>ABParam</name> |
| <value><string>ab-b</string></value> |
| </nameValuePair> |
| <nameValuePair> |
| <name>BCParam</name> |
| <value><string>bc-b</string></value> |
| </nameValuePair> |
| </settingsForGroup> |
| |
| <settingsForGroup name="c"> |
| <nameValuePair> |
| <name>CommonParam</name> |
| <value><string>common-c</string></value> |
| </nameValuePair> |
| <nameValuePair> |
| <name>BCParam</name> |
| <value><string>bc-c</string></value> |
| </nameValuePair> |
| </settingsForGroup> |
| |
| </configurationParameterSettings> |
| |
| <typeSystemDescription> |
| <types/> |
| </typeSystemDescription> |
| |
| <!-- Capabilities: Inputs and Outputs --> |
| <capabilities> |
| <capability> |
| <inputs/> |
| <outputs/> |
| <languagesSupported/> |
| </capability> |
| </capabilities> |
| |
| </analysisEngineMetaData> |
| </taeDescription> |