You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2016/05/13 20:08:56 UTC
svn commit: r1743744 -
/uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/test/resources/CASTests/desc/ArrayIndexTest.xml
Author: schor
Date: Fri May 13 20:08:56 2016
New Revision: 1743744
URL: http://svn.apache.org/viewvc?rev=1743744&view=rev
Log:
[UIMA-4674] define a type system having an array of a specific Feature Structure
Modified:
uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/test/resources/CASTests/desc/ArrayIndexTest.xml
Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/test/resources/CASTests/desc/ArrayIndexTest.xml
URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/test/resources/CASTests/desc/ArrayIndexTest.xml?rev=1743744&r1=1743743&r2=1743744&view=diff
==============================================================================
--- uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/test/resources/CASTests/desc/ArrayIndexTest.xml (original)
+++ uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/test/resources/CASTests/desc/ArrayIndexTest.xml Fri May 13 20:08:56 2016
@@ -1,91 +1,101 @@
-<?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.uima.cas.test.ArrayIndexTest</annotatorImplementationName>
-
- <analysisEngineMetaData>
- <name>ArrayIndexTest</name>
- <description></description>
- <version>1.0</version>
- <vendor>The Apache Software Foundation</vendor>
-
- <configurationParameters>
- </configurationParameters>
-
- <configurationParameterSettings>
- </configurationParameterSettings>
-
- <typeSystemDescription>
- <types>
- <typeDescription>
- <name>uima.test.Child1Annotation</name>
- <description></description>
- <supertypeName>uima.tcas.Annotation</supertypeName>
- </typeDescription>
- <typeDescription>
- <name>uima.test.Child2Annotation</name>
- <description></description>
- <supertypeName>uima.tcas.Annotation</supertypeName>
- </typeDescription>
- <typeDescription>
- <name>uima.test.Child2ChildAnnotation</name>
- <description></description>
- <supertypeName>uima.test.Child2Annotation</supertypeName>
- </typeDescription>
- <typeDescription>
- <name>uima.test.Type</name>
- <description></description>
- <supertypeName>uima.cas.TOP</supertypeName>
- </typeDescription>
- </types>
- </typeSystemDescription>
-
- <typePriorities>
- </typePriorities>
-
-
-<fsIndexes>
- <fsIndexDescription>
- <label>ArrayIndex</label>
- <typeName>uima.cas.FSArray</typeName>
- <kind>bag</kind>
- <keys>
- </keys>
- </fsIndexDescription>
-</fsIndexes>
-
- <capabilities>
- <capability>
- <inputs>
- </inputs>
- <outputs>
- </outputs>
- <languagesSupported>
- <language>x-unspecified</language>
- </languagesSupported>
- </capability>
- </capabilities>
- </analysisEngineMetaData>
-</taeDescription>
-
+<?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.uima.cas.test.ArrayIndexTest</annotatorImplementationName>
+
+ <analysisEngineMetaData>
+ <name>ArrayIndexTest</name>
+ <description/>
+ <version>1.0</version>
+ <vendor>The Apache Software Foundation</vendor>
+
+ <configurationParameters/>
+
+ <configurationParameterSettings/>
+
+ <typeSystemDescription>
+ <types>
+ <typeDescription>
+ <name>uima.test.Child1Annotation</name>
+ <description/>
+ <supertypeName>uima.tcas.Annotation</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>uima.test.Child2Annotation</name>
+ <description/>
+ <supertypeName>uima.tcas.Annotation</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>uima.test.Child2ChildAnnotation</name>
+ <description/>
+ <supertypeName>uima.test.Child2Annotation</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>uima.test.Type</name>
+ <description/>
+ <supertypeName>uima.cas.TOP</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>uima.test.type.RefFsArraySubtype</name>
+ <description/>
+ <supertypeName>uima.cas.TOP</supertypeName>
+ <features>
+ <featureDescription>
+ <name>refToDeclFsArraySubtype</name>
+ <description/>
+ <rangeTypeName>uima.cas.FSArray</rangeTypeName>
+ <elementType>uima.tcas.Annotation</elementType>
+ </featureDescription>
+ </features>
+ </typeDescription>
+ </types>
+ </typeSystemDescription>
+
+ <typePriorities/>
+
+
+<fsIndexCollection>
+ <fsIndexes>
+ <fsIndexDescription>
+ <label>ArrayIndex</label>
+ <typeName>uima.cas.FSArray</typeName>
+ <kind>bag</kind>
+ </fsIndexDescription>
+
+ </fsIndexes>
+ </fsIndexCollection>
+ <capabilities>
+ <capability>
+ <inputs/>
+ <outputs/>
+ <languagesSupported>
+ <language>x-unspecified</language>
+ </languagesSupported>
+ </capability>
+ </capabilities>
+ <operationalProperties>
+ <modifiesCas>true</modifiesCas>
+ <multipleDeploymentAllowed>true</multipleDeploymentAllowed>
+ <outputsNewCASes>false</outputsNewCASes>
+ </operationalProperties>
+ </analysisEngineMetaData>
+</taeDescription>