Added: uima/site/trunk/uima-website/docs/d/uimafit-3.1.0/api/org/apache/uima/fit/util/CasUtil.html URL: http://svn.apache.org/viewvc/uima/site/trunk/uima-website/docs/d/uimafit-3.1.0/api/org/apache/uima/fit/util/CasUtil.html?rev=1877633&view=auto ============================================================================== --- uima/site/trunk/uima-website/docs/d/uimafit-3.1.0/api/org/apache/uima/fit/util/CasUtil.html (added) +++ uima/site/trunk/uima-website/docs/d/uimafit-3.1.0/api/org/apache/uima/fit/util/CasUtil.html Tue May 12 08:11:24 2020 @@ -0,0 +1,1413 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>CasUtil (Apache uimaFIT 3.1.0 User-Level API Documentation)</title> +<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="CasUtil (Apache uimaFIT 3.1.0 User-Level API Documentation)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":41,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9,"i27":41,"i28":9,"i29":9,"i30":9,"i31":9,"i32":9,"i33":9,"i34":9,"i35":9}; +var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/CasUtil.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../../index-all.html">Index</a></li> +<li><a href="../../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../../org/apache/uima/fit/util/CasIOUtil.html" title="class in org.apache.uima.fit.util"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/uima/fit/util/ContainmentIndex.html" title="class in org.apache.uima.fit.util"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?org/apache/uima/fit/util/CasUtil.html" target="_top">Frames</a></li> +<li><a href="CasUtil.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field.summary">Field</a> | </li> +<li>Constr | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field.detail">Field</a> | </li> +<li>Constr | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">org.apache.uima.fit.util</div> +<h2 title="Class CasUtil" class="title">Class CasUtil</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> +<li> +<ul class="inheritance"> +<li>org.apache.uima.fit.util.CasUtil</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public final class <span class="typeNameLabel">CasUtil</span> +extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre> +<div class="block">Utility methods for convenient access to the <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas"><code>CAS</code></a>.</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- =========== FIELD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> +<caption><span>Fields</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Field and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/uima/fit/util/CasUtil.html#UIMA_BUILTIN_JCAS_PREFIX">UIMA_BUILTIN_JCAS_PREFIX</a></span></code> +<div class="block">Package name of JCas wrapper classes built into UIMA.</div> +</td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code>static <T extends <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/jcas/cas/TOP.html?is-external=true" title="class or interface in org.apache.uima.jcas.cas">TOP</a>><br>boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/uima/fit/util/CasUtil.html#exists-org.apache.uima.cas.CAS-org.apache.uima.cas.Type-">exists</a></span>(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> aCas, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> aType)</code> +<div class="block">Test if a CAS contains an annotation of the given type.</div> +</td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code>static <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/uima/fit/util/CasUtil.html#getAnnotationType-org.apache.uima.cas.CAS-java.lang.Class-">getAnnotationType</a></span>(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> aCas, + <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> aJCasClass)</code> +<div class="block">Get the CAS type for the given JCas wrapper class making sure it is or inherits from + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/jcas/tcas/Annotation.html?is-external=true" title="class or interface in org.apache.uima.jcas.tcas"><code>Annotation</code></a>.</div> +</td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code>static <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/uima/fit/util/CasUtil.html#getAnnotationType-org.apache.uima.cas.CAS-java.lang.String-">getAnnotationType</a></span>(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> aCas, + <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> aTypeName)</code> +<div class="block">Get the CAS type for the given name making sure it is or inherits from Annotation.</div> +</td> +</tr> +<tr id="i3" class="rowColor"> +<td class="colFirst"><code>static <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/uima/fit/util/CasUtil.html#getType-org.apache.uima.cas.CAS-java.lang.Class-">getType</a></span>(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> cas, + <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> type)</code> +<div class="block">Get the CAS type for the given JCas wrapper class.</div> +</td> +</tr> +<tr id="i4" class="altColor"> +<td class="colFirst"><code>static <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/uima/fit/util/CasUtil.html#getType-org.apache.uima.cas.CAS-java.lang.String-">getType</a></span>(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> aCas, + <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> aTypename)</code> +<div class="block">Get the CAS type for the given name.</div> +</td> +</tr> +<tr id="i5" class="rowColor"> +<td class="colFirst"><code>static <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/uima/fit/util/CasUtil.html#getView-org.apache.uima.cas.CAS-java.lang.String-boolean-">getView</a></span>(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> cas, + <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> viewName, + boolean create)</code> +<div class="block">Convenience method to get the specified view or create a new view if the requested view does + not exist.</div> +</td> +</tr> +<tr id="i6" class="altColor"> +<td class="colFirst"><code>static <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/uima/fit/util/CasUtil.html#getView-org.apache.uima.cas.CAS-java.lang.String-org.apache.uima.cas.CAS-">getView</a></span>(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> cas, + <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> viewName, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> fallback)</code> +<div class="block">Convenience method to get the specified view or a default view if the requested view does not + exist.</div> +</td> +</tr> +<tr id="i7" class="rowColor"> +<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a>>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/uima/fit/util/CasUtil.html#indexCovered-org.apache.uima.cas.CAS-org.apache.uima.cas.Type-org.apache.uima.cas.Type-">indexCovered</a></span>(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> cas, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> type, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> coveredType)</code> +<div class="block">Create an index for quickly lookup up the annotations covered by a particular annotation.</div> +</td> +</tr> +<tr id="i8" class="altColor"> +<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a>>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/uima/fit/util/CasUtil.html#indexCovering-org.apache.uima.cas.CAS-org.apache.uima.cas.Type-org.apache.uima.cas.Type-">indexCovering</a></span>(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> cas, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> type, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> coveringType)</code> +<div class="block">Create an index for quickly lookup up the annotations covering a particular annotation.</div> +</td> +</tr> +<tr id="i9" class="rowColor"> +<td class="colFirst"><code>static <T extends <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a>><br><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a><T></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/uima/fit/util/CasUtil.html#iterator-org.apache.uima.cas.CAS-org.apache.uima.cas.Type-">iterator</a></span>(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> cas, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> type)</code> +<div class="block">Get an iterator over the given annotation type.</div> +</td> +</tr> +<tr id="i10" class="altColor"> +<td class="colFirst"><code>static <T extends <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/FeatureStructure.html?is-external=true" title="class or interface in org.apache.uima.cas">FeatureStructure</a>><br><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a><T></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/uima/fit/util/CasUtil.html#iteratorFS-org.apache.uima.cas.CAS-org.apache.uima.cas.Type-">iteratorFS</a></span>(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> cas, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> type)</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> +<div class="block"><span class="deprecationComment">Use <code>cas.select(type).iterator()</code></span></div> +</div> +</td> +</tr> +<tr id="i11" class="rowColor"> +<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/uima/fit/util/CasUtil.html#select-org.apache.uima.cas.ArrayFS-org.apache.uima.cas.Type-">select</a></span>(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/ArrayFS.html?is-external=true" title="class or interface in org.apache.uima.cas">ArrayFS</a> array, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> type)</code> +<div class="block">Convenience method to iterator over all annotations of a given type.</div> +</td> +</tr> +<tr id="i12" class="altColor"> +<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/uima/fit/util/CasUtil.html#select-org.apache.uima.cas.CAS-org.apache.uima.cas.Type-">select</a></span>(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> cas, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> type)</code> +<div class="block">Convenience method to iterator over all annotations of a given type.</div> +</td> +</tr> +<tr id="i13" class="rowColor"> +<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/uima/fit/util/CasUtil.html#selectAll-org.apache.uima.cas.CAS-">selectAll</a></span>(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> aCas)</code> +<div class="block">Convenience method to iterator over all annotations.</div> +</td> +</tr> +<tr id="i14" class="altColor"> +<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/FeatureStructure.html?is-external=true" title="class or interface in org.apache.uima.cas">FeatureStructure</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/uima/fit/util/CasUtil.html#selectAllFS-org.apache.uima.cas.CAS-">selectAllFS</a></span>(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> aCas)</code> +<div class="block">Convenience method to iterator over all features structures.</div> +</td> +</tr> +<tr id="i15" class="rowColor"> +<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/uima/fit/util/CasUtil.html#selectAt-org.apache.uima.cas.CAS-org.apache.uima.cas.Type-int-int-">selectAt</a></span>(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> aCas, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> aType, + int aBegin, + int aEnd)</code> +<div class="block">Get all annotations of the given type at the specified offsets.</div> +</td> +</tr> +<tr id="i16" class="altColor"> +<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/uima/fit/util/CasUtil.html#selectBetween-org.apache.uima.cas.CAS-org.apache.uima.cas.Type-org.apache.uima.cas.text.AnnotationFS-org.apache.uima.cas.text.AnnotationFS-">selectBetween</a></span>(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> cas, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> type, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a> ann1, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a> ann2)</code> +<div class="block">Get a list of annotations of the given annotation type located between two annotations.</div> +</td> +</tr> +<tr id="i17" class="rowColor"> +<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/uima/fit/util/CasUtil.html#selectBetween-org.apache.uima.cas.Type-org.apache.uima.cas.text.AnnotationFS-org.apache.uima.cas.text.AnnotationFS-">selectBetween</a></span>(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> type, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a> ann1, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a> ann2)</code> +<div class="block">Get a list of annotations of the given annotation type located between two annotations.</div> +</td> +</tr> +<tr id="i18" class="altColor"> +<td class="colFirst"><code>static <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/uima/fit/util/CasUtil.html#selectByIndex-org.apache.uima.cas.CAS-org.apache.uima.cas.Type-int-">selectByIndex</a></span>(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> cas, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> type, + int index)</code> +<div class="block">This method exists simply as a convenience method for unit testing.</div> +</td> +</tr> +<tr id="i19" class="rowColor"> +<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/uima/fit/util/CasUtil.html#selectCovered-org.apache.uima.cas.CAS-org.apache.uima.cas.Type-org.apache.uima.cas.text.AnnotationFS-">selectCovered</a></span>(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> cas, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> type, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a> coveringAnnotation)</code> +<div class="block">Get a list of annotations of the given annotation type constraint by a certain annotation.</div> +</td> +</tr> +<tr id="i20" class="altColor"> +<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/uima/fit/util/CasUtil.html#selectCovered-org.apache.uima.cas.CAS-org.apache.uima.cas.Type-int-int-">selectCovered</a></span>(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> cas, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> type, + int begin, + int end)</code> +<div class="block">Get a list of annotations of the given annotation type constraint by a certain annotation.</div> +</td> +</tr> +<tr id="i21" class="rowColor"> +<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/uima/fit/util/CasUtil.html#selectCovered-org.apache.uima.cas.Type-org.apache.uima.cas.text.AnnotationFS-">selectCovered</a></span>(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> type, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a> coveringAnnotation)</code> +<div class="block">Get a list of annotations of the given annotation type constraint by a certain annotation.</div> +</td> +</tr> +<tr id="i22" class="altColor"> +<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/uima/fit/util/CasUtil.html#selectCovering-org.apache.uima.cas.CAS-org.apache.uima.cas.Type-org.apache.uima.cas.text.AnnotationFS-">selectCovering</a></span>(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> cas, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> type, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a> coveredAnnotation)</code> +<div class="block">Get a list of annotations of the given annotation type constraint by a certain annotation.</div> +</td> +</tr> +<tr id="i23" class="rowColor"> +<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/uima/fit/util/CasUtil.html#selectCovering-org.apache.uima.cas.CAS-org.apache.uima.cas.Type-int-int-">selectCovering</a></span>(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> cas, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> type, + int begin, + int end)</code> +<div class="block">Get a list of annotations of the given annotation type constraint by a certain annotation.</div> +</td> +</tr> +<tr id="i24" class="altColor"> +<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/uima/fit/util/CasUtil.html#selectCovering-org.apache.uima.cas.Type-org.apache.uima.cas.text.AnnotationFS-">selectCovering</a></span>(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> type, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a> coveredAnnotation)</code> +<div class="block">Get a list of annotations of the given annotation type constraint by a certain annotation.</div> +</td> +</tr> +<tr id="i25" class="rowColor"> +<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/uima/fit/util/CasUtil.html#selectFollowing-org.apache.uima.cas.CAS-org.apache.uima.cas.Type-org.apache.uima.cas.text.AnnotationFS-int-">selectFollowing</a></span>(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> cas, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> type, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a> annotation, + int count)</code> +<div class="block">Returns the n annotations following the given annotation</div> +</td> +</tr> +<tr id="i26" class="altColor"> +<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/FeatureStructure.html?is-external=true" title="class or interface in org.apache.uima.cas">FeatureStructure</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/uima/fit/util/CasUtil.html#selectFS-org.apache.uima.cas.ArrayFS-org.apache.uima.cas.Type-">selectFS</a></span>(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/ArrayFS.html?is-external=true" title="class or interface in org.apache.uima.cas">ArrayFS</a> array, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> type)</code> +<div class="block">Convenience method to iterator over all feature structures of a given type.</div> +</td> +</tr> +<tr id="i27" class="rowColor"> +<td class="colFirst"><code>static <T extends <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/FeatureStructure.html?is-external=true" title="class or interface in org.apache.uima.cas">FeatureStructure</a>><br><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><T></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/uima/fit/util/CasUtil.html#selectFS-org.apache.uima.cas.CAS-org.apache.uima.cas.Type-">selectFS</a></span>(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> cas, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> type)</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> +<div class="block"><span class="deprecationComment">Use <code>cas.select(type).asList()</code></span></div> +</div> +</td> +</tr> +<tr id="i28" class="altColor"> +<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/uima/fit/util/CasUtil.html#selectPreceding-org.apache.uima.cas.CAS-org.apache.uima.cas.Type-org.apache.uima.cas.text.AnnotationFS-int-">selectPreceding</a></span>(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> cas, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> type, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a> annotation, + int count)</code> +<div class="block">Returns the n annotations preceding the given annotation</div> +</td> +</tr> +<tr id="i29" class="rowColor"> +<td class="colFirst"><code>static <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/uima/fit/util/CasUtil.html#selectSingle-org.apache.uima.cas.CAS-org.apache.uima.cas.Type-">selectSingle</a></span>(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> cas, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> type)</code> +<div class="block">Get the single instance of the specified type from the CAS.</div> +</td> +</tr> +<tr id="i30" class="altColor"> +<td class="colFirst"><code>static <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/uima/fit/util/CasUtil.html#selectSingleAt-org.apache.uima.cas.CAS-org.apache.uima.cas.Type-int-int-">selectSingleAt</a></span>(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> aCas, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> aType, + int aBegin, + int aEnd)</code> +<div class="block">Get the single instance of the specified type from the CAS at the given offsets.</div> +</td> +</tr> +<tr id="i31" class="rowColor"> +<td class="colFirst"><code>static <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/FeatureStructure.html?is-external=true" title="class or interface in org.apache.uima.cas">FeatureStructure</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/uima/fit/util/CasUtil.html#selectSingleFS-org.apache.uima.cas.CAS-org.apache.uima.cas.Type-">selectSingleFS</a></span>(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> cas, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> type)</code> +<div class="block">Get the single instance of the specified type from the CAS.</div> +</td> +</tr> +<tr id="i32" class="altColor"> +<td class="colFirst"><code>static <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/uima/fit/util/CasUtil.html#selectSingleRelative-org.apache.uima.cas.CAS-org.apache.uima.cas.Type-org.apache.uima.cas.text.AnnotationFS-int-">selectSingleRelative</a></span>(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> cas, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> type, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a> aAnchor, + int aPosition)</code> +<div class="block">Return an annotation preceding or following of a given reference annotation.</div> +</td> +</tr> +<tr id="i33" class="rowColor"> +<td class="colFirst"><code>static <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/uima/fit/util/CasUtil.html#selectSingleRelative-org.apache.uima.cas.Type-org.apache.uima.cas.text.AnnotationFS-int-">selectSingleRelative</a></span>(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> type, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a> annotation, + int index)</code> +<div class="block">Return an annotation preceding or following of a given reference annotation.</div> +</td> +</tr> +<tr id="i34" class="altColor"> +<td class="colFirst"><code>static <T extends <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a>><br><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/uima/fit/util/CasUtil.html#toText-java.lang.Iterable-">toText</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><T> iterable)</code> +<div class="block">Fetch the text covered by the specified annotations and return it as a list of strings.</div> +</td> +</tr> +<tr id="i35" class="rowColor"> +<td class="colFirst"><code>static <T extends <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a>><br><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/uima/fit/util/CasUtil.html#toText-java.util.Iterator-">toText</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a><T> iterator)</code> +<div class="block">Fetch the text covered by the specified annotations and return it as a list of strings.</div> +</td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> +<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/ja va/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ FIELD DETAIL =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.detail"> +<!-- --> +</a> +<h3>Field Detail</h3> +<a name="UIMA_BUILTIN_JCAS_PREFIX"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>UIMA_BUILTIN_JCAS_PREFIX</h4> +<pre>public static final <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> UIMA_BUILTIN_JCAS_PREFIX</pre> +<div class="block">Package name of JCas wrapper classes built into UIMA.</div> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../../constant-values.html#org.apache.uima.fit.util.CasUtil.UIMA_BUILTIN_JCAS_PREFIX">Constant Field Values</a></dd> +</dl> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="iteratorFS-org.apache.uima.cas.CAS-org.apache.uima.cas.Type-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>iteratorFS</h4> +<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> +public static <T extends <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/FeatureStructure.html?is-external=true" title="class or interface in org.apache.uima.cas">FeatureStructure</a>> <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a><T> iteratorFS(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> cas, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> type)</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Use <code>cas.select(type).iterator()</code></span></div> +<div class="block">Get an iterator over the given feature structures type.</div> +<dl> +<dt><span class="paramLabel">Type Parameters:</span></dt> +<dd><code>T</code> - the JCas type.</dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>cas</code> - a CAS.</dd> +<dd><code>type</code> - a type.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>a return value.</dd> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="package-summary.html#SortOrder">Order of selected feature structures</a></dd> +</dl> +</li> +</ul> +<a name="iterator-org.apache.uima.cas.CAS-org.apache.uima.cas.Type-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>iterator</h4> +<pre>public static <T extends <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a>> <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a><T> iterator(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> cas, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> type)</pre> +<div class="block">Get an iterator over the given annotation type.</div> +<dl> +<dt><span class="paramLabel">Type Parameters:</span></dt> +<dd><code>T</code> - the JCas type.</dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>cas</code> - a CAS.</dd> +<dd><code>type</code> - a type.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>a return value.</dd> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="package-summary.html#SortOrder">Order of selected feature structures</a></dd> +</dl> +</li> +</ul> +<a name="getType-org.apache.uima.cas.CAS-java.lang.Class-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getType</h4> +<pre>public static <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> getType(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> cas, + <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> type)</pre> +<div class="block">Get the CAS type for the given JCas wrapper class.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>cas</code> - the CAS hosting the type system.</dd> +<dd><code>type</code> - the JCas wrapper class.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the CAS type.</dd> +</dl> +</li> +</ul> +<a name="getType-org.apache.uima.cas.CAS-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getType</h4> +<pre>public static <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> getType(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> aCas, + <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> aTypename)</pre> +<div class="block">Get the CAS type for the given name.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>aCas</code> - the CAS hosting the type system.</dd> +<dd><code>aTypename</code> - the fully qualified type name.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the CAS type.</dd> +</dl> +</li> +</ul> +<a name="getAnnotationType-org.apache.uima.cas.CAS-java.lang.Class-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getAnnotationType</h4> +<pre>public static <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> getAnnotationType(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> aCas, + <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> aJCasClass)</pre> +<div class="block">Get the CAS type for the given JCas wrapper class making sure it is or inherits from + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/jcas/tcas/Annotation.html?is-external=true" title="class or interface in org.apache.uima.jcas.tcas"><code>Annotation</code></a>.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>aCas</code> - the CAS hosting the type system.</dd> +<dd><code>aJCasClass</code> - the JCas wrapper class.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the CAS type.</dd> +</dl> +</li> +</ul> +<a name="getAnnotationType-org.apache.uima.cas.CAS-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getAnnotationType</h4> +<pre>public static <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> getAnnotationType(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> aCas, + <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> aTypeName)</pre> +<div class="block">Get the CAS type for the given name making sure it is or inherits from Annotation.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>aCas</code> - the CAS hosting the type system.</dd> +<dd><code>aTypeName</code> - the fully qualified type name.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the CAS type.</dd> +</dl> +</li> +</ul> +<a name="selectFS-org.apache.uima.cas.ArrayFS-org.apache.uima.cas.Type-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>selectFS</h4> +<pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/FeatureStructure.html?is-external=true" title="class or interface in org.apache.uima.cas">FeatureStructure</a>> selectFS(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/ArrayFS.html?is-external=true" title="class or interface in org.apache.uima.cas">ArrayFS</a> array, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> type)</pre> +<div class="block">Convenience method to iterator over all feature structures of a given type.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>array</code> - features structure array.</dd> +<dd><code>type</code> - the type.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>A collection of the selected type.</dd> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="package-summary.html#SortOrder">Order of selected feature structures</a></dd> +</dl> +</li> +</ul> +<a name="select-org.apache.uima.cas.ArrayFS-org.apache.uima.cas.Type-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>select</h4> +<pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a>> select(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/ArrayFS.html?is-external=true" title="class or interface in org.apache.uima.cas">ArrayFS</a> array, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> type)</pre> +<div class="block">Convenience method to iterator over all annotations of a given type.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>array</code> - features structure array.</dd> +<dd><code>type</code> - the type.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>A collection of the selected type.</dd> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="package-summary.html#SortOrder">Order of selected feature structures</a></dd> +</dl> +</li> +</ul> +<a name="selectAllFS-org.apache.uima.cas.CAS-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>selectAllFS</h4> +<pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/FeatureStructure.html?is-external=true" title="class or interface in org.apache.uima.cas">FeatureStructure</a>> selectAllFS(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> aCas)</pre> +<div class="block">Convenience method to iterator over all features structures.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>aCas</code> - the CAS hosting the type system.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>A collection of the selected type.</dd> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="package-summary.html#SortOrder">Order of selected feature structures</a></dd> +</dl> +</li> +</ul> +<a name="selectFS-org.apache.uima.cas.CAS-org.apache.uima.cas.Type-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>selectFS</h4> +<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> +public static <T extends <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/FeatureStructure.html?is-external=true" title="class or interface in org.apache.uima.cas">FeatureStructure</a>> <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><T> selectFS(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> cas, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> type)</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Use <code>cas.select(type).asList()</code></span></div> +<div class="block">Convenience method to iterator over all feature structures of a given type.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>cas</code> - the CAS containing the type system.</dd> +<dd><code>type</code> - the type.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>A collection of the selected type.</dd> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="package-summary.html#SortOrder">Order of selected feature structures</a></dd> +</dl> +</li> +</ul> +<a name="selectAll-org.apache.uima.cas.CAS-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>selectAll</h4> +<pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a>> selectAll(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> aCas)</pre> +<div class="block">Convenience method to iterator over all annotations.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>aCas</code> - the CAS hosting the type system.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>A collection of the selected type.</dd> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="package-summary.html#SortOrder">Order of selected feature structures</a></dd> +</dl> +</li> +</ul> +<a name="select-org.apache.uima.cas.CAS-org.apache.uima.cas.Type-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>select</h4> +<pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a>> select(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> cas, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> type)</pre> +<div class="block">Convenience method to iterator over all annotations of a given type.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>cas</code> - the CAS containing the type system.</dd> +<dd><code>type</code> - the type.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>A collection of the selected type.</dd> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="package-summary.html#SortOrder">Order of selected feature structures</a></dd> +</dl> +</li> +</ul> +<a name="selectAt-org.apache.uima.cas.CAS-org.apache.uima.cas.Type-int-int-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>selectAt</h4> +<pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a>> selectAt(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> aCas, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> aType, + int aBegin, + int aEnd)</pre> +<div class="block">Get all annotations of the given type at the specified offsets.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>aCas</code> - the CAS containing the annotations.</dd> +<dd><code>aType</code> - the type of annotations to fetch.</dd> +<dd><code>aBegin</code> - the begin offset.</dd> +<dd><code>aEnd</code> - the end offset.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the annotations at the specified offsets.</dd> +</dl> +</li> +</ul> +<a name="selectSingleAt-org.apache.uima.cas.CAS-org.apache.uima.cas.Type-int-int-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>selectSingleAt</h4> +<pre>public static <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a> selectSingleAt(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> aCas, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> aType, + int aBegin, + int aEnd)</pre> +<div class="block">Get the single instance of the specified type from the CAS at the given offsets.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>aCas</code> - the CAS containing the annotations.</dd> +<dd><code>aType</code> - the type of annotations to fetch.</dd> +<dd><code>aBegin</code> - the begin offset.</dd> +<dd><code>aEnd</code> - the end offset.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the single annotation at the specified offsets.</dd> +</dl> +</li> +</ul> +<a name="selectBetween-org.apache.uima.cas.Type-org.apache.uima.cas.text.AnnotationFS-org.apache.uima.cas.text.AnnotationFS-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>selectBetween</h4> +<pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a>> selectBetween(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> type, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a> ann1, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a> ann2)</pre> +<div class="block">Get a list of annotations of the given annotation type located between two annotations. Does + not use subiterators and does not respect type priorities. Zero-width annotations what lie on + the borders are included in the result, e.g. if the boundary annotations are [1..2] and [2..3] + then an annotation [2..2] is returned. If there is a non-zero overlap between the boundary + annotations, the result is empty. The method properly handles cases where the second boundary + annotations occurs before the first boundary annotation by switching their roles.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>type</code> - a UIMA type.</dd> +<dd><code>ann1</code> - the first boundary annotation.</dd> +<dd><code>ann2</code> - the second boundary annotation.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>a return value.</dd> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/impl.Subiterator.html?is-external=true" title="class or interface in org.apache.uima.cas"><code>Subiterator</code></a>, +<a href="package-summary.html#SortOrder">Order of selected feature structures</a></dd> +</dl> +</li> +</ul> +<a name="selectBetween-org.apache.uima.cas.CAS-org.apache.uima.cas.Type-org.apache.uima.cas.text.AnnotationFS-org.apache.uima.cas.text.AnnotationFS-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>selectBetween</h4> +<pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a>> selectBetween(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> cas, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> type, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a> ann1, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a> ann2)</pre> +<div class="block">Get a list of annotations of the given annotation type located between two annotations. Does + not use subiterators and does not respect type priorities. Zero-width annotations what lie on + the borders are included in the result, e.g. if the boundary annotations are [1..2] and [2..3] + then an annotation [2..2] is returned. If there is a non-zero overlap between the boundary + annotations, the result is empty. The method properly handles cases where the second boundary + annotations occurs before the first boundary annotation by switching their roles.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>cas</code> - a CAS.</dd> +<dd><code>type</code> - a UIMA type.</dd> +<dd><code>ann1</code> - the first boundary annotation.</dd> +<dd><code>ann2</code> - the second boundary annotation.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>a return value.</dd> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/impl.Subiterator.html?is-external=true" title="class or interface in org.apache.uima.cas"><code>Subiterator</code></a>, +<a href="package-summary.html#SortOrder">Order of selected feature structures</a></dd> +</dl> +</li> +</ul> +<a name="selectCovered-org.apache.uima.cas.Type-org.apache.uima.cas.text.AnnotationFS-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>selectCovered</h4> +<pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a>> selectCovered(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> type, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a> coveringAnnotation)</pre> +<div class="block">Get a list of annotations of the given annotation type constraint by a certain annotation. + Iterates over all annotations of the given type to find the covered annotations. Does not use + subiterators and does not respect type prioritites. Was adapted from <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/impl.Subiterator.html?is-external=true" title="class or interface in org.apache.uima.cas"><code>Subiterator</code></a>. Uses + the same approach except that type priorities are ignored. + <p> + The covering annotation is never returned itself, even if it is of the queried-for type or a + subtype of that type. + <p> + The method only returns properly covered annotations, that is annotations where the begin/end + offsets are equal to the 'covering' annotation or where both the begin/end are included in + the span of the 'covering' annotation. Partially overlapping annotations are not returned.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>type</code> - a UIMA type.</dd> +<dd><code>coveringAnnotation</code> - the covering annotation.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>a return value.</dd> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/impl.Subiterator.html?is-external=true" title="class or interface in org.apache.uima.cas"><code>Subiterator</code></a>, +<a href="package-summary.html#SortOrder">Order of selected feature structures</a></dd> +</dl> +</li> +</ul> +<a name="selectCovered-org.apache.uima.cas.CAS-org.apache.uima.cas.Type-org.apache.uima.cas.text.AnnotationFS-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>selectCovered</h4> +<pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a>> selectCovered(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> cas, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> type, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a> coveringAnnotation)</pre> +<div class="block">Get a list of annotations of the given annotation type constraint by a certain annotation. + Iterates over all annotations of the given type to find the covered annotations. Does not use + subiterators and does not respect type prioritites. Was adapted from <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/impl.Subiterator.html?is-external=true" title="class or interface in org.apache.uima.cas"><code>Subiterator</code></a>. Uses + the same approach except that type priorities are ignored. + <p> + The covering annotation is never returned itself, even if it is of the queried-for type or a + subtype of that type. + <p> + The method only returns properly covered annotations, that is annotations where the begin/end + offsets are equal to the 'covering' annotation or where both the begin/end are included in + the span of the 'covering' annotation. Partially overlapping annotations are not returned.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>cas</code> - a CAS.</dd> +<dd><code>type</code> - a UIMA type.</dd> +<dd><code>coveringAnnotation</code> - the covering annotation.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>a return value.</dd> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/impl.Subiterator.html?is-external=true" title="class or interface in org.apache.uima.cas"><code>Subiterator</code></a>, +<a href="package-summary.html#SortOrder">Order of selected feature structures</a></dd> +</dl> +</li> +</ul> +<a name="selectCovered-org.apache.uima.cas.CAS-org.apache.uima.cas.Type-int-int-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>selectCovered</h4> +<pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a>> selectCovered(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> cas, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> type, + int begin, + int end)</pre> +<div class="block">Get a list of annotations of the given annotation type constraint by a certain annotation. + Iterates over all annotations of the given type to find the covered annotations. Does not use + subiterators and does not respect type prioritites. Was adapted from <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/impl.Subiterator.html?is-external=true" title="class or interface in org.apache.uima.cas"><code>Subiterator</code></a>. Uses + the same approach except that type priorities are ignored. + <p> + <b>Note:</b> this is significantly slower than using + <a href="../../../../../org/apache/uima/fit/util/CasUtil.html#selectCovered-org.apache.uima.cas.CAS-org.apache.uima.cas.Type-org.apache.uima.cas.text.AnnotationFS-"><code>selectCovered(CAS, Type, AnnotationFS)</code></a>. It is possible to use + <code>selectCovered(cas, type, new Annotation(jCas, int, int))</code>, but that will allocate memory + in the jCas for the new annotation. If you do that repeatedly many times, memory may fill up. + <p> + The method only returns properly covered annotations, that is annotations where the begin/end + offsets are equal to the given begin/end or where both the begin/end are included in + the span of the given span. Partially overlapping annotations are not returned.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>cas</code> - a CAS.</dd> +<dd><code>type</code> - a UIMA type.</dd> +<dd><code>begin</code> - begin offset.</dd> +<dd><code>end</code> - end offset.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>a return value.</dd> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/impl.Subiterator.html?is-external=true" title="class or interface in org.apache.uima.cas"><code>Subiterator</code></a>, +<a href="package-summary.html#SortOrder">Order of selected feature structures</a></dd> +</dl> +</li> +</ul> +<a name="selectCovering-org.apache.uima.cas.Type-org.apache.uima.cas.text.AnnotationFS-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>selectCovering</h4> +<pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a>> selectCovering(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> type, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a> coveredAnnotation)</pre> +<div class="block">Get a list of annotations of the given annotation type constraint by a certain annotation. + Iterates over all annotations to find the covering annotations. + <p> + The method only returns properly covering annotations, that is annotations where the begin/end + offsets are equal to the begin/end of the given annotation or where given 'covered' annotation + is properly contained within the span of the 'covering' annotation. Partially overlapping + annotations are not returned. + + <p> + <b>Note:</b> this is <b>REALLY SLOW!</b> You don't want to use this. Instead, consider using + <a href="../../../../../org/apache/uima/fit/util/CasUtil.html#indexCovering-org.apache.uima.cas.CAS-org.apache.uima.cas.Type-org.apache.uima.cas.Type-"><code>indexCovering(CAS, Type, Type)</code></a> or a <a href="../../../../../org/apache/uima/fit/util/ContainmentIndex.html" title="class in org.apache.uima.fit.util"><code>ContainmentIndex</code></a>.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>type</code> - a UIMA type.</dd> +<dd><code>coveredAnnotation</code> - the covered annotation.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>a return value.</dd> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="package-summary.html#SortOrder">Order of selected feature structures</a></dd> +</dl> +</li> +</ul> +<a name="selectCovering-org.apache.uima.cas.CAS-org.apache.uima.cas.Type-org.apache.uima.cas.text.AnnotationFS-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>selectCovering</h4> +<pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a>> selectCovering(<a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</a> cas, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</a> type, + <a href="http://uima.apache.org/d/uimaj-3.1.1/apidocs/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</a> coveredAnnotation)</pre> +<div class="block">Get a list of annotations of the given annotation type constraint by a certain annotation. + Iterates over all annotations to find the covering annotations. + <p> + The method only returns properly covering annotations, that is annotations where the begin/end + offsets are equal to the begin/end of the given annotation or where given 'covered' annotation + is properly contained within the span of the 'covering' annotation. Partially overlapping + annotations are not returned. + + <p> + <b>Note:</b> this is <b>REALLY SLOW!</b> You don't want to use this. Instead, consider using + <a href="../../../../../org/apache/uima/fit/util/CasUtil.html#indexCovering-org.apache.uima.cas.CAS-org.apache.uima.cas.Type-org.apache.uima.cas.Type-"><code>indexCovering(CAS, Type, Type)</code></a> or a <a href="../../../../../org/apache/uima/fit/util/ContainmentIndex.html" title="class in org.apache.uima.fit.util"><code>ContainmentIndex</code></a>.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>cas</code> - a CAS.</dd> +<dd><code>type</code> - a UIMA type.</dd> +<dd><code>coveredAnnotation</code> - the covered annotation.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>a return value.</dd> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="package-summary.html#SortOrder">Order of selected feature structures</a></dd>
[... 438 lines stripped ...]