blob: 781d6c90e992f634de166057b5193cb46df249b5 [file] [log] [blame]
<?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.
-->
<taeDescription xmlns="http://uima.apache.org/resourceSpecifier">
<frameworkImplementation>org.apache.uima.java</frameworkImplementation>
<primitive>true</primitive>
<annotatorImplementationName>org.apache.ctakes.core.ae.CopyAnnotator</annotatorImplementationName>
<analysisEngineMetaData>
<name>CopyAnnotator</name>
<description>Utility annotator that copy's data from an existing JCas object into a new JCas object.</description>
<version/>
<vendor>Mayo</vendor>
<configurationParameters>
<configurationParameter>
<name>srcObjClass</name>
<description>Source JCas object class. This must be an object that already exists in the JCas.</description>
<type>String</type>
<multiValued>false</multiValued>
<mandatory>true</mandatory>
</configurationParameter>
<configurationParameter>
<name>destObjClass</name>
<description>Destination JCas object class. A new JCas object will be created.</description>
<type>String</type>
<multiValued>false</multiValued>
<mandatory>true</mandatory>
</configurationParameter>
<configurationParameter>
<name>dataBindMap</name>
<description>Binds data from source to destination. Format for each entry is the getter method name of the source to the setter method name of the destination. e.g. getMyValue|setMyValue</description>
<type>String</type>
<multiValued>true</multiValued>
<mandatory>true</mandatory>
</configurationParameter>
</configurationParameters>
<configurationParameterSettings>
<nameValuePair>
<name>srcObjClass</name>
<value>
<string>org.apache.ctakes.typesystem.type.syntax.WordToken</string>
</value>
</nameValuePair>
<nameValuePair>
<name>destObjClass</name>
<value>
<string>org.apache.ctakes.typesystem.type.CopyDestAnnotation</string>
</value>
</nameValuePair>
<nameValuePair>
<name>dataBindMap</name>
<value>
<array>
<string>getBegin|setBegin</string>
<string>getEnd|setEnd</string>
</array>
</value>
</nameValuePair>
</configurationParameterSettings>
<typeSystemDescription>
<imports>
<import name="org.apache.ctakes.typesystem.types.TypeSystem"/>
</imports>
<types>
<typeDescription>
<name>org.apache.ctakes.typesystem.type.CopySrcAnnotation</name>
<description>Used for testing CopyAnnotator.</description>
<supertypeName>uima.tcas.Annotation</supertypeName>
</typeDescription>
<typeDescription>
<name>org.apache.ctakes.typesystem.type.CopyDestAnnotation</name>
<description>Used for testing CopyAnnotator.</description>
<supertypeName>uima.tcas.Annotation</supertypeName>
</typeDescription>
</types>
</typeSystemDescription>
<capabilities>
<capability>
<inputs>
<type allAnnotatorFeatures="true">org.apache.ctakes.typesystem.type.CopySrcAnnotation</type>
</inputs>
<outputs>
<type allAnnotatorFeatures="true">org.apache.ctakes.typesystem.type.CopyDestAnnotation</type>
</outputs>
<languagesSupported/>
</capability>
</capabilities>
<operationalProperties>
<modifiesCas>true</modifiesCas>
<multipleDeploymentAllowed>true</multipleDeploymentAllowed>
<outputsNewCASes>false</outputsNewCASes>
</operationalProperties>
</analysisEngineMetaData>
</taeDescription>